Skip to content

Commit b4e26c7

Browse files
committed
pkg/scaffold: fixing typo in controller log
1 parent d6f84b4 commit b4e26c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/scaffold/controller_kind.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ type Reconcile{{ .Resource.Kind }} struct {
124124
// The Controller will requeue the Request to be processed again if the returned error is non-nil or
125125
// Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
126126
func (r *Reconcile{{ .Resource.Kind }}) Reconcile(request reconcile.Request) (reconcile.Result, error) {
127-
reqLogger := log.WithValues("Request.Namespace", request.Namespace, "Requst.Name", request.Name)
127+
reqLogger := log.WithValues("Request.Namespace", request.Namespace, "Request.Name", request.Name)
128128
reqLogger.Info("Reconciling {{ .Resource.Kind }}")
129129
130130
// Fetch the {{ .Resource.Kind }} instance

pkg/scaffold/controller_kind_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ type ReconcileAppService struct {
121121
// The Controller will requeue the Request to be processed again if the returned error is non-nil or
122122
// Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
123123
func (r *ReconcileAppService) Reconcile(request reconcile.Request) (reconcile.Result, error) {
124-
reqLogger := log.WithValues("Request.Namespace", request.Namespace, "Requst.Name", request.Name)
124+
reqLogger := log.WithValues("Request.Namespace", request.Namespace, "Request.Name", request.Name)
125125
reqLogger.Info("Reconciling AppService")
126126
127127
// Fetch the AppService instance

0 commit comments

Comments
 (0)