Arik Hadas has uploaded a new change for review. Change subject: xcvxcvxcv ......................................................................
xcvxcvxcv Change-Id: I3c53960934628c6ddbbe8aaafee6e5befc125f2d Signed-off-by: Arik Hadas <aha...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java 1 file changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/01/22101/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java index c6f27d7..d131445 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java @@ -625,18 +625,18 @@ } protected Guid schedule() { - // use destination vds or default vds or none - VDS destinationVds = getDestinationVds(); Guid vdsId = SchedulingManager.getInstance().schedule( getVdsGroup(), getVm(), getRunVdssList(), getVdsWhiteList(), - destinationVds == null ? null : destinationVds.getId(), + getDestinationVds() != null ? getDestinationVds().getId() : null, new ArrayList<String>(), new VdsFreeMemoryChecker(this), getCorrelationId()); - getRunVdssList().add(vdsId); + if (!Guid.isNullOrEmpty(vdsId)) { + getRunVdssList().add(vdsId); + } return vdsId; } -- To view, visit http://gerrit.ovirt.org/22101 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3c53960934628c6ddbbe8aaafee6e5befc125f2d 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