Change in ovirt-engine[master]: restapi: fix NPE when adding vm with no cpu mode
mpastern at redhat.com
mpastern at redhat.com
Wed Dec 26 09:37:00 UTC 2012
Michael Pasternak has submitted this change and it was merged.
Change subject: restapi: fix NPE when adding vm with no cpu mode
......................................................................
restapi: fix NPE when adding vm with no cpu mode
A check whether the lately added attribute 'cpu mode' is defined
(set) in a request before trying to map it to enum value was
missing, thus creating a NPE.
Change-Id: I94b2269a952e4dedcd08ee4b22940aeca020fb4c
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/VmMapper.java
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/10372
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I94b2269a952e4dedcd08ee4b22940aeca020fb4c
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
More information about the Engine-commits
mailing list