Change in ovirt-engine[ovirt-engine-4.0]: api: api doesnt pass the vminit when increasing vm in pool v2

Tal Nisan has submitted this change and it was merged. Change subject: api: api doesnt pass the vminit when increasing vm in pool v2 ...................................................................... api: api doesnt pass the vminit when increasing vm in pool v2 First patch solve the issue if the template have vminit and not pass it to the new VM, What was missing was if the pool edited the vminit we don't want to take the vminit from the template but from the pool. (since the pool is not saving the vminit in the database we take it from one of the vms - this is the same behaviour as the UI) Change-Id: I8572c71665016bf3a8cab033989b2473f0ce994b Bug-Url: https://bugzilla.redhat.com/1339287 Signed-off-by: Shahar Havivi <shaharh@redhat.com> --- M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolResource.java 1 file changed, 4 insertions(+), 1 deletion(-) Approvals: Juan Hernandez: Looks good to me, approved Shahar Havivi: Verified Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/59036 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8572c71665016bf3a8cab033989b2473f0ce994b Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-4.0 Gerrit-Owner: Shahar Havivi <shavivi@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Shahar Havivi <shavivi@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
tnisan@redhat.com