From 00a81d850fc144c2d43bcc0cf401d355ec7b712c Mon Sep 17 00:00:00 2001 From: Ritu Sood Date: Thu, 29 Aug 2019 17:50:51 -0700 Subject: 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 --- internal/pkg/ovn/ovn.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'internal/pkg/ovn') 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 -- cgit 1.2.3-korg