diff --git a/pkg/upstream/stack/remove.go b/pkg/upstream/stack/remove.go index 35f0052d..45d912d2 100644 --- a/pkg/upstream/stack/remove.go +++ b/pkg/upstream/stack/remove.go @@ -247,7 +247,7 @@ func waitOnTasks(ctx context.Context, client apiclient.APIClient, namespace stri } } - if terminalStatesReached == len(tasks) { + if terminalStatesReached >= len(tasks) { log.Debug(i18n.G("all tasks reached terminal state")) break }