Skip to content

Commit caafeb5

Browse files
committed
TMP: azure: add instance name to provisioning failure log
Signed-off-by: Jeremi Piotrowski <[email protected]>
1 parent a981513 commit caafeb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: platform/api/azure/instance.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ func (a *API) CreateInstance(name, sshkey, resourceGroup, storageAccount string,
245245
}
246246
_, err = poller.PollUntilDone(context.TODO(), nil)
247247
if err != nil {
248-
return &Machine{ID: name, State: PROVISIONING}, fmt.Errorf("PollUntilDone: %w", err)
248+
return &Machine{ID: name, State: PROVISIONING}, fmt.Errorf("PollUntilDone(%s): %w", name, err)
249249
}
250250
plog.Infof("Instance %s created", name)
251251

0 commit comments

Comments
 (0)