Gilad Chaplik has submitted this change and it was merged. Change subject: core: Fix quota not inherited from VM to Template ......................................................................
core: Fix quota not inherited from VM to Template When Template was created from a Vm using the REST API the quota of the disks was not inherited by the new template disks. The command was looking for quota to assign to the new disk in the DiskInfoDestinationMap. But as quota is not yet fully supported in REST, this map is left empty. Added an 'else' block which uses the old disk quota as a default. Change-Id: I697082483c706178b8ea47306779dc2b63da5ed6 Bug-Url: https://bugzilla.redhat.com/913551 Signed-off-by: Ofri Masad <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java 1 file changed, 12 insertions(+), 12 deletions(-) Approvals: Gilad Chaplik: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/12618 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I697082483c706178b8ea47306779dc2b63da5ed6 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: ofri masad <[email protected]> Gerrit-Reviewer: Doron Fediuck <[email protected]> Gerrit-Reviewer: Gilad Chaplik <[email protected]> Gerrit-Reviewer: Laszlo Hornyak <[email protected]> Gerrit-Reviewer: Noam Slomianko <[email protected]> Gerrit-Reviewer: ofri masad <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
