aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ovn4nfvk8s-cni/ovn4nfvk8s-cni.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ovn4nfvk8s-cni/ovn4nfvk8s-cni.go b/cmd/ovn4nfvk8s-cni/ovn4nfvk8s-cni.go
index 923363b..dda42ad 100644
--- a/cmd/ovn4nfvk8s-cni/ovn4nfvk8s-cni.go
+++ b/cmd/ovn4nfvk8s-cni/ovn4nfvk8s-cni.go
@@ -128,7 +128,7 @@ func addMultipleInterfaces(args *skel.CmdArgs, ovnAnnotation, namespace, podName
gatewayIP := ovnNet["gateway_ip"]
defaultGateway := ovnNet["defaultGateway"]
- if ipAddress == "" || macAddress == "" || gatewayIP == "" {
+ if ipAddress == "" || macAddress == "" {
logrus.Errorf("failed in pod annotation key extract")
return nil
}