azure: Improve error message in azure.Create()

This commit is contained in:
Leo R. Lundgren 2024-06-03 23:37:17 +02:00
parent 660679c2f6
commit b2bbbe805f

View file

@ -161,7 +161,7 @@ func Create(ctx context.Context, cfg Config, rt http.RoundTripper) (*Backend, er
return nil, errors.Wrap(err, "container.Create")
}
} else if err != nil {
return be, err
return be, errors.Wrap(err, "container.GetProperties")
}
return be, nil