Merge pull request #12321 from ioito/automated-cherry-pick-of-#12320-upstream-release-3.8

Automated cherry pick of #12320: fix(region): set google vm running after start
This commit is contained in:
Zexi Li
2021-09-28 17:58:28 +08:00
committed by GitHub

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")