Change in ovirt-engine[master]: core: Fix of NPE when creating new instance type

Code Review gerrit at ovirt.org
Thu Dec 1 14:50:31 UTC 2016


>From Tomas Jelinek <tjelinek at redhat.com>:

Tomas Jelinek has submitted this change and it was merged.

Change subject: core: Fix of NPE when creating new instance type
......................................................................


core: Fix of NPE when creating new instance type

During creation of new instance type a NPE was throw in
RngUtils#validate since it expected a cluster param to be non-null.
Separate flow added for non-cluster entities.

Change-Id: I34824dce7d568d5191e182876b97f05fa09e9927
Bug-Url: https://bugzilla.redhat.com/1374227
Signed-off-by: Jakub Niedermertl <jniederm at redhat.com>
---
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/RngUtils.java
1 file changed, 16 insertions(+), 0 deletions(-)

Approvals:
  Jakub Niedermertl: Verified
  Jenkins CI: Passed CI tests
  Arik Hadas: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I34824dce7d568d5191e182876b97f05fa09e9927
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list