Skip to content

Commit

Permalink
Also mark existing restarts for deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Kidswiss authored and wejdross committed Dec 16, 2024
1 parent 25f8995 commit c463aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/comp-functions/functions/vshnpostgres/restart.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func keepRecentRestartOps(ctx context.Context, svc *runtime.ServiceRuntime, comp
continue
}

err = svc.SetDesiredKubeObject(&op, r.Resource.GetName())
err = svc.SetDesiredKubeObject(&op, r.Resource.GetName(), runtime.KubeOptionAllowDeletion)
if err != nil {
return err
}
Expand Down

0 comments on commit c463aba

Please sign in to comment.