Change in ovirt-engine[master]: core: Fix quota not inherited from VM to Template

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 <omasad@redhat.com> --- 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 <omasad@redhat.com> Gerrit-Reviewer: Doron Fediuck <dfediuck@redhat.com> Gerrit-Reviewer: Gilad Chaplik <gchaplik@redhat.com> Gerrit-Reviewer: Laszlo Hornyak <lhornyak@redhat.com> Gerrit-Reviewer: Noam Slomianko <nslomian@redhat.com> Gerrit-Reviewer: ofri masad <omasad@redhat.com>
participants (1)
-
gchaplik@redhat.com