Skip to content

Commit 6569ba6

Browse files
pkg/reconciler: use TODO context instead of Background (#17)
1 parent 563f188 commit 6569ba6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/reconciler/reconciler.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,8 @@ func WithValueMapper(m values.Mapper) Option {
393393
// - ReleaseFailed - an installation or upgrade failed.
394394
// - Irreconcilable - an error occurred during reconciliation
395395
func (r *Reconciler) Reconcile(req ctrl.Request) (res ctrl.Result, err error) {
396-
ctx := context.Background()
396+
// todo:https://github.com/kubernetes-sigs/controller-runtime/issues/801
397+
ctx := context.TODO()
397398
log := r.log.WithValues(strings.ToLower(r.gvk.Kind), req.NamespacedName)
398399

399400
obj := &unstructured.Unstructured{}

0 commit comments

Comments
 (0)