Skip to content

Commit

Permalink
Merge pull request #246 from werf/fix-lint
Browse files Browse the repository at this point in the history
chore: fix lint problems
  • Loading branch information
distorhead authored Feb 7, 2022
2 parents 7c436b6 + e70508b commit 4eca033
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/trackers/elimination/elimination.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 4eca033

Please sign in to comment.