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 Jan 23, 2023
1 parent c515019 commit c50211c
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 @@ -329,7 +329,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 c50211c

Please sign in to comment.