mirror of https://github.com/apache/cloudstack.git
CS-15318:Do not allow user to stop a VM when it is in Starting state
This commit is contained in:
parent
0f302f9e42
commit
160d71fe38
|
|
@ -1361,7 +1361,7 @@
|
|||
}
|
||||
}
|
||||
else if (jsonObj.state == 'Starting') {
|
||||
allowedActions.push("stop");
|
||||
// allowedActions.push("stop");
|
||||
}
|
||||
else if (jsonObj.state == 'Error') {
|
||||
allowedActions.push("destroy");
|
||||
|
|
|
|||
Loading…
Reference in New Issue