Skip to content

Commit

Permalink
Fix cluster deletion (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
outcatcher authored Jun 9, 2020
1 parent 3c9ff68 commit cf79f34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion services/containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (c *client) waitForClusterDelete(clusterID string) error {
return golangsdk.WaitFor(600, func() (bool, error) {
_, err := c.getClusterStatus(clusterID)
if err != nil {
return true, err
return false, err
}
switch err.(type) {
case golangsdk.ErrDefault404:
Expand Down
2 changes: 0 additions & 2 deletions services/containers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ func TestClient_ClusterLifecycle(t *testing.T) {
VolumeType: "SATA",
},
},
MaxPods: 10,
EipCount: 1,
PublicKey: kp.PublicKey,
}
nodeCount := 2
Expand Down

0 comments on commit cf79f34

Please sign in to comment.