Skip to content

Commit

Permalink
Use Status() client for Status
Browse files Browse the repository at this point in the history
  • Loading branch information
shafeeqes committed Dec 21, 2022
1 parent 3c81c91 commit a18bcb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gardener-extension-provider-local/app/app.go
Expand Up @@ -331,7 +331,7 @@ func (w *webhookTriggerer) Start(ctx context.Context) error {
return err
}

return w.trigger(ctx, w.client, w.client, &appsv1.DeploymentList{}, client.MatchingLabels{"app": "dependency-watchdog-probe"})
return w.trigger(ctx, w.client, w.client.Status(), &appsv1.DeploymentList{}, client.MatchingLabels{"app": "dependency-watchdog-probe"})
}

func (w *webhookTriggerer) trigger(ctx context.Context, reader client.Reader, writer client.StatusWriter, objectList client.ObjectList, opts ...client.ListOption) error {
Expand Down

0 comments on commit a18bcb8

Please sign in to comment.