mirror of https://github.com/apache/cloudstack.git
A typo that leads to opposite decision on determine whether or not to notify out-of-band VM state changes.
This commit is contained in:
parent
42d637376b
commit
4399e245f4
|
|
@ -4100,7 +4100,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac
|
|||
|
||||
List<VmWorkJobVO> pendingWorkJobs = _workJobDao.listPendingWorkJobs(
|
||||
VirtualMachine.Type.Instance, vmId);
|
||||
if (pendingWorkJobs.size() == 0 || _haMgr.hasPendingHaWork(vmId)) {
|
||||
if (pendingWorkJobs.size() == 0 || !_haMgr.hasPendingHaWork(vmId)) {
|
||||
// there is no pending operation job
|
||||
VMInstanceVO vm = _vmDao.findById(vmId);
|
||||
if (vm != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue