Change in ovirt-engine[master]: core: Fix quota not inherited from VM to Template
gchaplik at redhat.com
gchaplik at redhat.com
Thu Mar 7 12:52:12 UTC 2013
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 at 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 at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Noam Slomianko <nslomian at redhat.com>
Gerrit-Reviewer: ofri masad <omasad at redhat.com>
More information about the Engine-commits
mailing list