From 0b011813d74ec451c409a3ceab00b6fb17ab7c8b Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Wed, 17 Jan 2024 17:22:37 +0100 Subject: [PATCH] Update platform/api/brightbox/api.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kai Lüke --- platform/api/brightbox/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/api/brightbox/api.go b/platform/api/brightbox/api.go index 9b003b173..d5892501a 100644 --- a/platform/api/brightbox/api.go +++ b/platform/api/brightbox/api.go @@ -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)