Skip to content

Commit

Permalink
Update platform/api/brightbox/api.go
Browse files Browse the repository at this point in the history
Co-authored-by: Kai Lüke <[email protected]>
  • Loading branch information
tormath1 and pothos authored Jan 17, 2024
1 parent 7bc88b8 commit 0b01181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/api/brightbox/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (a *API) UploadImage(ctx context.Context, name, URL string) (string, error)
}

// It usually takes around 20 seconds to extract the image.
if err := util.WaitUntilReady(4*time.Minute, 5*time.Second, func() (bool, error) {
if err := util.WaitUntilReady(5*time.Minute, 5*time.Second, func() (bool, error) {
image, err := a.client.Image(ctx, img.ID)
if err != nil {
return false, fmt.Errorf("getting image status: %w", err)
Expand Down

0 comments on commit 0b01181

Please sign in to comment.