Arik Hadas has uploaded a new change for review. Change subject: core: fix cpu profile validation on import template ......................................................................
core: fix cpu profile validation on import template The cluster setting was missing on the template, thus we'll use the destination cluster. Change-Id: I5530101a10811f1fa4a4592d369c5bd93285bfc2 Signed-off-by: Arik Hadas <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/80/31780/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java index 9b6d1c3..f299fb7 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java @@ -565,6 +565,7 @@ } protected boolean setAndValidateCpuProfile() { + getVmTemplate().setVdsGroupId(getVdsGroupId()); return validate(CpuProfileHelper.setAndValidateCpuProfile(getVmTemplate(), getVdsGroup().getcompatibility_version())); } -- To view, visit http://gerrit.ovirt.org/31780 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5530101a10811f1fa4a4592d369c5bd93285bfc2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Arik Hadas <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
