Skip to content

Commit

Permalink
do no wait on resizes any longer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan SVIHLA committed Feb 14, 2022
1 parent 1ff6e14 commit d44fa71
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/authenticated_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,12 +475,6 @@ func (a *AuthenticatedClient) Resize(databaseID string, capacityUnits int) error
if res.StatusCode() != http.StatusAccepted {
return handleErrors(res.Body, res.Status())
}
tries := 60
interval := 30
_, err = a.WaitUntil(databaseID, tries, interval, astra.StatusEnumACTIVE)
if err != nil {
return fmt.Errorf("unable to check status for resize due to error '%v'", err)
}
return nil
}

Expand Down

0 comments on commit d44fa71

Please sign in to comment.