Skip to content

Commit

Permalink
Merge pull request #2863 from sbueringer/pr-drop-duplicate-log
Browse files Browse the repository at this point in the history
🌱 Drop duplicate ClusterCacheTracker log name
  • Loading branch information
k8s-ci-robot authored Mar 28, 2024
2 parents 2c8bf53 + 02e5b57 commit 80d2f2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,13 +436,12 @@ func setupRemoteClusterCacheTracker(ctx context.Context, mgr ctrlmgr.Manager) (*

// Set up a ClusterCacheTracker and ClusterCacheReconciler to provide to controllers
// requiring a connection to a remote cluster
log := ctrl.Log.WithValues("component", "remote/clustercachetracker")
tracker, err := remote.NewClusterCacheTracker(
mgr,
remote.ClusterCacheTrackerOptions{
SecretCachingClient: secretCachingClient,
ControllerName: controllerName,
Log: &log,
Log: &ctrl.Log,
},
)
if err != nil {
Expand Down

0 comments on commit 80d2f2a

Please sign in to comment.