aboutsummaryrefslogtreecommitdiffstats
path: root/internal/pkg
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2019-08-29 17:50:51 -0700
committerRitu Sood <ritu.sood@intel.com>2019-08-29 17:58:19 -0700
commit00a81d850fc144c2d43bcc0cf401d355ec7b712c (patch)
tree77ec46b9c8032b07b5c86abdde1da685422a7a27 /internal/pkg
parenta6c37bf8c9c1e9f5072bfc3e43b6ec0061ee2108 (diff)
Add check for annotation presence
If annotation is found on pod then pod is already processed, stop processing. This is different from "Failed to add ports" error. Change-Id: I101df641c150e007146bc1aeda9c5b372be329ca Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Diffstat (limited to 'internal/pkg')
-rw-r--r--internal/pkg/ovn/ovn.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/pkg/ovn/ovn.go b/internal/pkg/ovn/ovn.go
index 82fe837..12a4912 100644
--- a/internal/pkg/ovn/ovn.go
+++ b/internal/pkg/ovn/ovn.go
@@ -72,11 +72,6 @@ func (oc *Controller) AddLogicalPorts(pod *kapi.Pod, ovnNetObjs []map[string]int
return
}
- if _, ok := pod.Annotations[Ovn4nfvAnnotationTag]; ok {
- log.V(1).Info("AddLogicalPorts : Pod annotation found")
- return
- }
-
var ovnString, outStr string
ovnString = "["
var ns netInterface