Skip to content

Commit

Permalink
Fix lint issue reported by fatcontext (kubernetes-sigs#2485)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored and mbobrovskyi committed Jun 28, 2024
1 parent 9f82325 commit 573b24a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ linters:
- copyloopvar
- dupword
- durationcheck
- fatcontext
- ginkgolinter
- gocritic
- goimports
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/core/workload_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ func (w *workloadQueueHandler) queueReconcileForWorkloadsOfClusterQueue(ctx cont
}
for _, lq := range lst.Items {
log := log.WithValues("localQueue", klog.KObj(&lq))
ctx = ctrl.LoggerInto(ctx, log)
ctx := ctrl.LoggerInto(ctx, log)
w.queueReconcileForWorkloadsOfLocalQueue(ctx, &lq, wq)
}
}
Expand Down

0 comments on commit 573b24a

Please sign in to comment.