Skip to content

Commit

Permalink
update config controller to pass request.NameSpace.Name
Browse files Browse the repository at this point in the history
Signed-off-by: Avinash Patnala <[email protected]>
  • Loading branch information
Avinash Patnala committed Sep 19, 2024
1 parent befdcbd commit 1be812c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/config/config_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (r *ReconcileConfig) Reconcile(ctx context.Context, request reconcile.Reque
r.tracker.For(configGVK).Observe(instance)

if deleted {
return reconcile.Result{}, r.deleteStatus(ctx, request.Name)
return reconcile.Result{}, r.deleteStatus(ctx, request.NamespacedName.Name)
}
return reconcile.Result{}, r.updateOrCreatePodStatus(ctx, instance)
}
Expand Down

0 comments on commit 1be812c

Please sign in to comment.