From 2f5d340492256712fb02558ade0337a1c88e26fc Mon Sep 17 00:00:00 2001 From: Evan Baker Date: Wed, 31 Aug 2022 21:05:32 +0000 Subject: [PATCH] fix no valid NC log in reconciler Signed-off-by: Evan Baker --- cns/kubecontroller/nodenetworkconfig/reconciler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cns/kubecontroller/nodenetworkconfig/reconciler.go b/cns/kubecontroller/nodenetworkconfig/reconciler.go index b254138031..71700b1694 100644 --- a/cns/kubecontroller/nodenetworkconfig/reconciler.go +++ b/cns/kubecontroller/nodenetworkconfig/reconciler.go @@ -80,7 +80,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reco if r.nodeIP != "" { if r.nodeIP != nnc.Status.NetworkContainers[i].NodeIP { // skip this NC since it was created for a different node - logger.Debugf("[cns-rc] skipping network container %s found in NNC because node IP doesn't match, got %s, expected %s", + logger.Printf("[cns-rc] skipping network container %s found in NNC because node IP doesn't match, got %s, expected %s", nnc.Status.NetworkContainers[i].ID, nnc.Status.NetworkContainers[i].NodeIP, r.nodeIP) continue }