Change in ovirt-engine[master]: scheduler: Let AffinityGroup always return empty lists

rgolan at redhat.com rgolan at redhat.com
Wed Sep 2 08:17:26 UTC 2015


Roy Golan has submitted this change and it was merged.

Change subject: scheduler: Let AffinityGroup always return empty lists
......................................................................


scheduler: Let AffinityGroup always return empty lists

Sometimes an AffinityGroup is created without VMs in it. Make sure that
all lists it returns are never null for safer usage.

Bug-Url: https://bugzilla.redhat.com/1251742
Change-Id: I0b504d99ab0cbe0f37b2eb3429d871aa207584ad
Signed-off-by: Roman Mohr <rmohr at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/arem/AffinityRulesUtils.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/scheduling/AffinityGroup.java
2 files changed, 9 insertions(+), 8 deletions(-)

Approvals:
  Martin Peřina: Looks good to me, but someone else must approve
  Roman Mohr: Verified
  Jenkins CI: Passed CI tests
  Roy Golan: Looks good to me, approved

Objections:
  Tomer Saban: I would prefer that you didn't submit this



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0b504d99ab0cbe0f37b2eb3429d871aa207584ad
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tomer Saban <tsaban at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list