Add check for annotation presence 05/68405/1
authorRitu Sood <ritu.sood@intel.com>
Fri, 30 Aug 2019 00:50:51 +0000 (17:50 -0700)
committerRitu Sood <ritu.sood@intel.com>
Fri, 30 Aug 2019 00:58:19 +0000 (17:58 -0700)
commit00a81d850fc144c2d43bcc0cf401d355ec7b712c
tree77ec46b9c8032b07b5c86abdde1da685422a7a27
parenta6c37bf8c9c1e9f5072bfc3e43b6ec0061ee2108
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>
internal/pkg/ovn/ovn.go
pkg/controller/pod/pod_controller.go