From 086f5962d48b927ce4261dba58ea16772189f064 Mon Sep 17 00:00:00 2001 From: zcq98 Date: Thu, 19 Dec 2024 15:57:51 +0800 Subject: [PATCH] fix ut failed Signed-off-by: zcq98 --- pkg/util/validator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/validator_test.go b/pkg/util/validator_test.go index 956918060c6..e5625e76628 100644 --- a/pkg/util/validator_test.go +++ b/pkg/util/validator_test.go @@ -841,7 +841,7 @@ func TestValidateSubnet(t *testing.T) { }, Status: kubeovnv1.SubnetStatus{}, }, - err: "validate gateway 10.16.0.0 for cidr 10.16.0.0/32 failed: subnet 10.16.0.0/32 is configured with /32 netmask", + err: "validate gateway 10.16.0.0 for cidr 10.16.0.0/32 failed: subnet 10.16.0.0/32 is configured with /32 or /128 netmask", }, }