Arik Hadas has submitted this change and it was merged.

Change subject: core: fix regression related to update pool
......................................................................


core: fix regression related to update pool

Because of the use of do-while to add the missing VMs in pool after
updating the pool, we were adding a VM also in case no new VMs where
requested (because of the 'do' part).

The solution is to replace the do-while with for loop.

Change-Id: I027d687ecca87dd5eb784e99cd14b115ad55903f
Signed-off-by: Arik Hadas <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommonVmPoolWithVmsCommand.java
1 file changed, 2 insertions(+), 3 deletions(-)

Approvals:
  Omer Frenkel: Looks good to me, approved
  Arik Hadas: Verified



-- 
To view, visit http://gerrit.ovirt.org/28307
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I027d687ecca87dd5eb784e99cd14b115ad55903f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to