Arik Hadas has uploaded a new change for review. Change subject: maybe keep it.. ......................................................................
maybe keep it.. Change-Id: I8c1981a7adaa6b4ff3ba4012fbe7318f6488e2ab Signed-off-by: Arik Hadas <aha...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVMActionRunner.java 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/44/22644/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVMActionRunner.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVMActionRunner.java index d189fe9..372d1ab 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVMActionRunner.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVMActionRunner.java @@ -56,7 +56,7 @@ // then run stateless VMs for (RunVmCommand<?> command : validatedCommands) { - if (command.getParameters().getRunAsStateless()) { + if (!command.getFlow().isVdsm()) { command.executeAction(); } } @@ -76,7 +76,7 @@ private RunVmsParams createRunVmsParams(List<RunVmCommand<?>> validatedRunCommands) { HashMap<VM, RunVmCommand<?>> map = new HashMap<>(); for (RunVmCommand<?> command : validatedRunCommands) { - if (!command.getParameters().getRunAsStateless()) { + if (command.getFlow().isVdsm()) { map.put(command.getVm(), command); } } -- To view, visit http://gerrit.ovirt.org/22644 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8c1981a7adaa6b4ff3ba4012fbe7318f6488e2ab Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Arik Hadas <aha...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches