Skip to content

Commit

Permalink
fix(k8s): add ready to terminal statuses for DCP clusters (#1818)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mia-Cross committed Sep 1, 2023
1 parent fd067a3 commit 9e540fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/k8s/v1/k8s_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ func (s *API) WaitForClusterPool(req *WaitForClusterRequest, opts ...scw.Request

terminalStatus := map[ClusterStatus]struct{}{
ClusterStatusPoolRequired: {},
ClusterStatusReady: {},
}

cluster, err := async.WaitSync(&async.WaitSyncConfig{
Expand Down

0 comments on commit 9e540fe

Please sign in to comment.