From caafeb5a06b3844f675f1a2e2a6bb19e615ab9c6 Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Thu, 8 Aug 2024 16:46:56 +0200 Subject: [PATCH] TMP: azure: add instance name to provisioning failure log Signed-off-by: Jeremi Piotrowski --- platform/api/azure/instance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/api/azure/instance.go b/platform/api/azure/instance.go index 1eca18daa..079a884b7 100644 --- a/platform/api/azure/instance.go +++ b/platform/api/azure/instance.go @@ -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)