Skip to content

Commit

Permalink
fix: trying to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aldor007 committed Nov 14, 2023
1 parent bc46193 commit 28ee8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion castai/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func resourceCastaiClusterDelete(ctx context.Context, data *schema.ResourceData,
return retry.RetryableError(fmt.Errorf("triggered cluster deletion"))
}

if agentStatus == sdk.ClusterAgentStatusDisconnected || agentStatus == "connecting" {
if agentStatus == sdk.ClusterAgentStatusDisconnected || agentStatus == "waiting-connection" {
return triggerDelete()
}

Expand Down

0 comments on commit 28ee8ed

Please sign in to comment.