Skip to content

Commit 3e77f9d

Browse files
committed
Fix dropletID format bug
1 parent d214f97 commit 3e77f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud-controller-manager/do/droplets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func (i *instances) InstanceShutdownByProviderID(ctx context.Context, providerID
168168

169169
droplet, err := dropletByID(ctx, i.resources.gclient, dropletID)
170170
if err != nil {
171-
return false, fmt.Errorf("error getting droplet %q by ID: %s", dropletID, err)
171+
return false, fmt.Errorf("error getting droplet \"%d\" by ID: %s", dropletID, err)
172172
}
173173

174174
return droplet.Status == dropletShutdownStatus, nil

0 commit comments

Comments
 (0)