Skip to content

Commit

Permalink
TMP: azure: add instance name to provisioning failure log
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremi Piotrowski <[email protected]>
  • Loading branch information
jepio committed Aug 12, 2024
1 parent 426d223 commit 05e3cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/api/azure/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func (a *API) CreateInstance(name, sshkey, resourceGroup, storageAccount string,
}
_, err = poller.PollUntilDone(context.TODO(), nil)
if err != nil {
return &Machine{ID: name, State: PROVISIONING}, fmt.Errorf("PollUntilDone: %w", err)
return &Machine{ID: name, State: PROVISIONING}, fmt.Errorf("PollUntilDone(%s): %w", name, err)
}
plog.Infof("Instance %s created", name)

Expand Down

0 comments on commit 05e3cf3

Please sign in to comment.