Change in ovirt-engine[ovirt-engine-4.1]: scheduler: Fix empty scores returned by external scheduler

Code Review gerrit at ovirt.org
Mon May 15 09:18:51 UTC 2017


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

Tal Nisan has submitted this change and it was merged.

Change subject: scheduler: Fix empty scores returned by external scheduler
......................................................................


scheduler: Fix empty scores returned by external scheduler

Fixes NPE if the external scheduler returns an empty score list.
This can happen if an external policy times out.

Change-Id: I0d2c4bbdb476b76b799a43a0a71f4de579452f1c
Bug-Url: https://bugzilla.redhat.com/1444611
Signed-off-by: Andrej Krejcir <akrejcir at redhat.com>
(cherry picked from commit 61f971b8f1cc4baee537cebf4c965d51c2ca6cc7)
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/external/ScoringResult.java
1 file changed, 1 insertion(+), 5 deletions(-)

Approvals:
  Denis Chaplygin: Looks good to me, but someone else must approve
  Martin Sivák: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Andrej Krejcir: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0d2c4bbdb476b76b799a43a0a71f4de579452f1c
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.1
Gerrit-Owner: Andrej Krejcir <akrejcir at redhat.com>
Gerrit-Reviewer: Andrej Krejcir <akrejcir at redhat.com>
Gerrit-Reviewer: Denis Chaplygin <dchaplyg at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Jenny Tokar <jtokar at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Phillip Bailey <phbailey at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Yanir Quinn <yquinn at redhat.com>


More information about the Engine-commits mailing list