Skip to content

Commit c2dd7bb

Browse files
yunkon-kimCopilot
andauthored
Update src/core/resource/vnet.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a7d6b5a commit c2dd7bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/resource/vnet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ func IsAvailableForUseInCSP(vNetReq *model.TbVNetReq, provider string) (bool, er
364364
subnetPrefixLength, _ := subnetIpNet.Mask.Size()
365365

366366
if !(vNetIpNet.Contains(subnetIpNet.IP) && vNetPrefixLength < subnetPrefixLength) {
367-
err := fmt.Errorf("subnet CIDR block %s is not valid for vNet CIDR block: %s)", subnetCidrBlock, vNetCidrBlock)
367+
err := fmt.Errorf("subnet CIDR block %s is not valid for vNet CIDR block: %s", subnetCidrBlock, vNetCidrBlock)
368368
log.Error().Err(err).Msg("")
369369
return false, err
370370
}

0 commit comments

Comments
 (0)