From e70508b9301118eb1f9fb8eb0997c5790d0a9684 Mon Sep 17 00:00:00 2001 From: Timofey Kirillov Date: Mon, 7 Feb 2022 15:37:24 +0300 Subject: [PATCH] chore: fix lint problems Signed-off-by: Timofey Kirillov --- pkg/trackers/elimination/elimination.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/trackers/elimination/elimination.go b/pkg/trackers/elimination/elimination.go index 0c33a92..500710c 100644 --- a/pkg/trackers/elimination/elimination.go +++ b/pkg/trackers/elimination/elimination.go @@ -9,8 +9,6 @@ import ( "sync" "time" - watchtools "k8s.io/client-go/tools/watch" - "github.com/werf/logboek" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" @@ -19,6 +17,7 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/dynamic" "k8s.io/client-go/tools/cache" + watchtools "k8s.io/client-go/tools/watch" ) type EliminationTrackerSpec struct { @@ -192,7 +191,7 @@ func (tracker *EliminationTracker) Track(ctx context.Context, opts EliminationTr } if debug() { - fmt.Printf("[TrackUntilEliminated][%s] Not found existing object: stop tracking\n", tracker.Spec.String(), len(objs)) + fmt.Printf("[TrackUntilEliminated][%s][%d] Not found existing object: stop tracking\n", tracker.Spec.String(), len(objs)) } return true, nil }, func(ev watch.Event) (bool, error) {