Skip to content

Commit

Permalink
Revert "TMP: azure: timeout after 15s"
Browse files Browse the repository at this point in the history
This reverts commit 2647b48.
  • Loading branch information
jepio committed Aug 8, 2024
1 parent 464f4fd commit a981513
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions platform/api/azure/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,7 @@ func (a *API) CreateInstance(name, sshkey, resourceGroup, storageAccount string,
clean()
return nil, err
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
_, err = poller.PollUntilDone(ctx, nil)
_, err = poller.PollUntilDone(context.TODO(), nil)
if err != nil {
return &Machine{ID: name, State: PROVISIONING}, fmt.Errorf("PollUntilDone: %w", err)
}
Expand Down

0 comments on commit a981513

Please sign in to comment.