From 8f38d1e23c0b66db1693b465daf89bc92eea5db2 Mon Sep 17 00:00:00 2001 From: Lukasz Zajaczkowski Date: Wed, 25 Oct 2023 15:04:13 +0200 Subject: [PATCH] debug local flag --- pkg/sync/loop.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/sync/loop.go b/pkg/sync/loop.go index 2dbe617e..03b838cd 100644 --- a/pkg/sync/loop.go +++ b/pkg/sync/loop.go @@ -67,6 +67,8 @@ func (engine *Engine) processItem(item interface{}) error { fmt.Printf("failed to fetch service: %s, ignoring for now", err) return err } + + log.Info("local flag", "is:", Local) if Local && svc.Name == OperatorService { return nil }