Skip to content

Commit 27e822c

Browse files
committed
fix ugly log context
On-behalf-of: @SAP [email protected]
1 parent 849fa5f commit 27e822c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/sync/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func Create(
165165
}
166166

167167
func (r *Reconciler) Reconcile(ctx context.Context, request mcreconcile.Request) (reconcile.Result, error) {
168-
log := r.log.With("request", request, "cluster", request.ClusterName)
168+
log := r.log.With("cluster", request.ClusterName, "request", request.NamespacedName)
169169
log.Debug("Processing")
170170

171171
cl, err := r.remoteManager.GetCluster(ctx, request.ClusterName)

0 commit comments

Comments
 (0)