mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
rename net.ParseCIDR on messages to avoid false positives
This commit is contained in:
parent
06f2d678ee
commit
e9ddac5d85
@ -44,7 +44,7 @@ func TestLastIPInRange(t *testing.T) {
|
|||||||
} {
|
} {
|
||||||
_, c, err := net.ParseCIDR(tc.cidr)
|
_, c, err := net.ParseCIDR(tc.cidr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("net.ParseCIDR(%v) = _, %v, %v; want nil", tc.cidr, c, err)
|
t.Errorf("can't parse CIDR %v = _, %v, %v; want nil", tc.cidr, c, err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user