builder/digitalocean: increase timeout for waitForActionState
This commit is contained in:
parent
ba66d5d857
commit
750e4b0f31
|
@ -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
|
// With the pending state over, verify that we're in the active state
|
||||||
ui.Say("Waiting for snapshot to complete...")
|
ui.Say("Waiting for snapshot to complete...")
|
||||||
if err := waitForActionState(godo.ActionCompleted, dropletId, action.ID,
|
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
|
// If we get an error the first time, actually report it
|
||||||
err := fmt.Errorf("Error waiting for snapshot: %s", err)
|
err := fmt.Errorf("Error waiting for snapshot: %s", err)
|
||||||
state.Put("error", err)
|
state.Put("error", err)
|
||||||
|
|
Loading…
Reference in New Issue