Skip to content

Commit

Permalink
Adding logger name cache
Browse files Browse the repository at this point in the history
Signed-off-by: Feny Mehta <[email protected]>
  • Loading branch information
fbm3307 committed Mar 27, 2024
1 parent 2473a65 commit 212f436
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type Reconciler struct {
// The Controller will requeue the Request to be processed again if the returned error is non-nil or
// Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error) {
reqLogger := log.FromContext(ctx)
reqLogger := log.FromContext(ctx).WithName("cache")
reqLogger.Info("Reconciling ToolchainCluster")

// Fetch the ToolchainCluster instance
Expand Down

0 comments on commit 212f436

Please sign in to comment.