Skip to content

Commit

Permalink
Update images/virtualization-artifact/pkg/controller/moduleconfig/red…
Browse files Browse the repository at this point in the history
…uce_cidrs_validator.go

Co-authored-by: Ivan Mikheykin <[email protected]>
Signed-off-by: Yaroslav Borbat <[email protected]>
  • Loading branch information
yaroslavborbat and diafour authored Dec 17, 2024
1 parent c965fb0 commit 16560b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ loop:
}
for _, CIDR := range validateCIDRs {
if CIDR.Contains(leaseIP) {
return nil, fmt.Errorf("CIDR %q is in use by one or more IP addresses", CIDR)
return nil, fmt.Errorf("virtualMachineCIDRs item %q can't be removed: VirtualMachineIPAddressLease/%s holds IP address from this network", CIDR, lease.GetName())
}
}
}
Expand Down

0 comments on commit 16560b2

Please sign in to comment.