Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Commit d44fa71

Browse files
author
Ryan SVIHLA
committed
do no wait on resizes any longer
1 parent 1ff6e14 commit d44fa71

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pkg/authenticated_client.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -475,12 +475,6 @@ func (a *AuthenticatedClient) Resize(databaseID string, capacityUnits int) error
475475
if res.StatusCode() != http.StatusAccepted {
476476
return handleErrors(res.Body, res.Status())
477477
}
478-
tries := 60
479-
interval := 30
480-
_, err = a.WaitUntil(databaseID, tries, interval, astra.StatusEnumACTIVE)
481-
if err != nil {
482-
return fmt.Errorf("unable to check status for resize due to error '%v'", err)
483-
}
484478
return nil
485479
}
486480

0 commit comments

Comments
 (0)