Skip to content

Commit 2c533b7

Browse files
committed
1 parent 9975e29 commit 2c533b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

alias.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ var (
128128
// LoggerFrom returns a logger with predefined values from a context.Context.
129129
// The logger, when used with controllers, can be expected to contain basic information about the object
130130
// that's being reconciled like:
131-
// - `reconcilerGroup` and `reconcilerKind` coming from the For(...) object passed in when building a controller.
131+
// - `reconciler group` and `reconciler kind` coming from the For(...) object passed in when building a controller.
132132
// - `name` and `namespace` injected from the reconciliation request.
133133
//
134134
// This is meant to be used with the context supplied in a struct that satisfies the Reconciler interface.

pkg/builder/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ func (blder *Builder) doController(r reconcile.Reconciler) error {
293293
if ctrlOptions.Log == nil {
294294
ctrlOptions.Log = blder.mgr.GetLogger()
295295
}
296-
ctrlOptions.Log = ctrlOptions.Log.WithValues("reconcilerGroup", gvk.Group, "reconcilerKind", gvk.Kind)
296+
ctrlOptions.Log = ctrlOptions.Log.WithValues("reconciler group", gvk.Group, "reconciler kind", gvk.Kind)
297297

298298
// Build the controller and return.
299299
blder.ctrl, err = newController(blder.getControllerName(gvk), blder.mgr, ctrlOptions)

0 commit comments

Comments
 (0)