Skip to content

Commit

Permalink
Merge pull request #1907 from adracus/fix/global-logging-override
Browse files Browse the repository at this point in the history
🐛 don't override global log in builder
  • Loading branch information
k8s-ci-robot committed May 19, 2022
2 parents 7fb8534 + a1f1aad commit c066edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/builder/controller.go
Expand Up @@ -309,7 +309,7 @@ func (blder *Builder) doController(r reconcile.Reconciler) error {

// Setup the logger.
if ctrlOptions.LogConstructor == nil {
log = blder.mgr.GetLogger().WithValues(
log := blder.mgr.GetLogger().WithValues(
"controller", controllerName,
"controllerGroup", gvk.Group,
"controllerKind", gvk.Kind,
Expand Down

0 comments on commit c066edc

Please sign in to comment.