mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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…
x
Reference in New Issue
Block a user