Mike Kolesnik has submitted this change and it was merged.
Change subject: core: Cleanup RunVmCommand
......................................................................
core: Cleanup RunVmCommand
This if is redundant since this check is exactly what
SetIsVmRunningStateless() does:
private void SetIsVmRunningStateless() {
List<stateless_vm_image_map> list = DbFacade.getInstance()
.getDiskImageDAO().getAllStatelessVmImageMapsForVm(getVmId());
_isVmRunningStateless = (list != null && list.size() > 0);
}
Change-Id: Iae70d4ea065d94483295be9a7dac42ed2a712519
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
1 file changed, 15 insertions(+), 24 deletions(-)
Approvals:
Mike Kolesnik: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/1967
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iae70d4ea065d94483295be9a7dac42ed2a712519
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches