Skip to content

Commit

Permalink
removes redundant ctx parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Disper committed Mar 5, 2024
1 parent e85d68a commit af57cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/gardener_cluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (controller *GardenerClusterController) Reconcile(ctx context.Context, req

if err != nil {
if k8serrors.IsNotFound(err) {
controller.unsetStateMetric(ctx, req)
controller.unsetStateMetric(req)
err = controller.deleteKubeconfigSecret(ctx, req.Name)
}

Expand Down

0 comments on commit af57cd7

Please sign in to comment.