Closed seokho-son closed 4 weeks ago
Fix vm status transition check bug for rebooting.
// duplicated action if strings.EqualFold(vm.Status, targetStatus) { if !strings.EqualFold(action, model.ActionReboot) { return errors.New(action + " is not allowed for VM under " + vm.Status) } }
/approve
Fix vm status transition check bug for rebooting.