Change in ovirt-engine[master]: restapi: Avoid NPE when receiving NUMA node without cores
juan.hernandez at redhat.com
juan.hernandez at redhat.com
Mon Jun 15 11:25:04 UTC 2015
Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Avoid NPE when receiving NUMA node without cores
......................................................................
restapi: Avoid NPE when receiving NUMA node without cores
Currently the server assumes the presence of the "cores" element when
receiving a request to add a NUMA node and if they aren't present a NPE
is generated. To avoid this issue this patch modifies the server so that
it checks for the presence of this element.
Change-Id: I12bbdd066af9818dcb2ffad5df8ac3849e3efdd6
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/NumaMapper.java
1 file changed, 11 insertions(+), 4 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Verified; Looks good to me, but someone else must approve
--
To view, visit https://gerrit.ovirt.org/42039
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I12bbdd066af9818dcb2ffad5df8ac3849e3efdd6
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Jason Liao <chuan.liao at hp.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
More information about the Engine-commits
mailing list