Skip to content

Commit cebd713

Browse files
committed
set CS machine status success after VM deployed
1 parent 6c51d26 commit cebd713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cloud/instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ func (c *client) GetOrCreateVMInstance(
282282
return err
283283
}
284284
csMachine.Spec.InstanceID = pointer.StringPtr(deployVMResp.Id)
285-
285+
csMachine.Status.Status = metav1.StatusSuccess
286286
// Resolve uses a VM metrics request response to fill cloudstack machine status.
287287
// The deployment response is insufficient.
288288
return c.ResolveVMInstanceDetails(csMachine)

0 commit comments

Comments
 (0)