Skip to content

Commit c965fb0

Browse files
Update images/virtualization-artifact/pkg/controller/moduleconfig/util.go
Co-authored-by: Ivan Mikheykin <[email protected]> Signed-off-by: Yaroslav Borbat <[email protected]>
1 parent 259aeca commit c965fb0

File tree

1 file changed

+1
-1
lines changed
  • images/virtualization-artifact/pkg/controller/moduleconfig

1 file changed

+1
-1
lines changed

images/virtualization-artifact/pkg/controller/moduleconfig/util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func checkNodeAddressesOverlap(nodes []corev1.Node, excludedPrefixes []netip.Pre
5151

5252
for _, prefix := range excludedPrefixes {
5353
if prefix.Contains(ip) {
54-
return fmt.Errorf("node address %s may overlap with subnet %s", ip, prefix)
54+
return fmt.Errorf("subnet %s is invalid, it should not contains addresses assigned to nodes: got node %s with IP %s", prefix, node.GetName(), ip)
5555
}
5656
}
5757
}

0 commit comments

Comments
 (0)