From 750e4b0f315e08a7bce3b1575c7b0d09ad95aaef Mon Sep 17 00:00:00 2001 From: hbdgr Date: Wed, 3 Jul 2019 17:13:50 +0200 Subject: [PATCH] builder/digitalocean: increase timeout for waitForActionState --- builder/digitalocean/step_snapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/digitalocean/step_snapshot.go b/builder/digitalocean/step_snapshot.go index f3c9430f1..5468c002e 100644 --- a/builder/digitalocean/step_snapshot.go +++ b/builder/digitalocean/step_snapshot.go @@ -33,7 +33,7 @@ func (s *stepSnapshot) Run(ctx context.Context, state multistep.StateBag) multis // With the pending state over, verify that we're in the active state ui.Say("Waiting for snapshot to complete...") if err := waitForActionState(godo.ActionCompleted, dropletId, action.ID, - client, 20*time.Minute); err != nil { + client, 60*time.Minute); err != nil { // If we get an error the first time, actually report it err := fmt.Errorf("Error waiting for snapshot: %s", err) state.Put("error", err)