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 aeee917 commit bc46193
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 @@ -70,7 +70,7 @@ func resourceCastaiClusterDelete(ctx context.Context, data *schema.ResourceData,
}

if clusterStatus == sdk.ClusterStatusDeleting {
return retry.RetryableError(fmt.Errorf("cluster is deleting cluster status %s agent status", clusterStatus, agentStatus))
return retry.RetryableError(fmt.Errorf("cluster is deleting cluster status %s agent status %s", clusterStatus, agentStatus))
}

if toString(clusterResponse.JSON200.CredentialsId) != "" && agentStatus != sdk.ClusterAgentStatusDisconnected {
Expand Down

0 comments on commit bc46193

Please sign in to comment.