Change in ovirt-engine[ovirt-engine-4.1]: core: Use set for disk ids fetched from VM's OVF.

Code Review gerrit at ovirt.org
Mon Mar 20 13:20:17 UTC 2017


>From Tal Nisan <tnisan at redhat.com>:

Tal Nisan has submitted this change and it was merged.

Change subject: core: Use set for disk ids fetched from VM's OVF.
......................................................................


core: Use set for disk ids fetched from VM's OVF.

Since VM OVF might contain several nodes of the same disk in case of a
snapshot we should use set instead of list since the use of this method
is only used for disk ids.

Change-Id: I710b5fdfb126c7ea75838c5f98f1a8e707211356
Bug-Url: https://bugzilla.redhat.com/1430865
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/utils/OvfUtilsTest.java
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/OvfUtils.java
2 files changed, 6 insertions(+), 3 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Maor Lipchuk: Verified



-- 
To view, visit https://gerrit.ovirt.org/74320
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I710b5fdfb126c7ea75838c5f98f1a8e707211356
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.1
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list