fix(region): set google vm running after start

This commit is contained in:
Qu Xuan
2021-09-27 16:50:58 +08:00
parent 8a597e1bf4
commit abfe35dce3
+1
View File
@@ -242,6 +242,7 @@ func (self *SGoogleGuestDriver) RequestStartOnHost(ctx context.Context, guest *m
log.Errorf("failed to update google userdata")
}
}
guest.SetStatus(userCred, api.VM_RUNNING, "StartOnHost")
return task.ScheduleRun(result)
}
return guest.SetStatus(userCred, api.VM_RUNNING, "StartOnHost")