mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9860: Fix stackoverflow issue
Fixes issue caused to a PR-refactoring from #2108, reported by @borisstoyanov Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
48f413a982
commit
e197652a28
|
|
@ -2733,7 +2733,7 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
|
|||
if (forceStop) {
|
||||
return stopVMInternal(conn, vmName, true);
|
||||
}
|
||||
String ret = stopVM(conn, vmName, false);
|
||||
String ret = stopVMInternal(conn, vmName, false);
|
||||
if (ret == Script.ERR_TIMEOUT) {
|
||||
ret = stopVMInternal(conn, vmName, true);
|
||||
} else if (ret != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue