Change in ovirt-engine[master]: core: fix regression related to update pool

ahadas at redhat.com ahadas at redhat.com
Tue Jun 3 11:04:31 UTC 2014


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 <ahadas at redhat.com>
---
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 <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list