Change in ovirt-engine[master]: restapi: NPE when mapping watchdog without id

Juan Hernandez has submitted this change and it was merged. Change subject: restapi: NPE when mapping watchdog without id ...................................................................... restapi: NPE when mapping watchdog without id Currently the operation to add a watchdog to a VM fails if the id isn't provided, as this triggers a NPE. This adds a check to prevent that NPE. Change-Id: Ib526525b37e74e2e4d863e4418dfb852a7ca4200 Bug-Url: https://bugzilla.redhat.com/1129781 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/WatchdogMapper.java 1 file changed, 3 insertions(+), 2 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/31663 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib526525b37e74e2e4d863e4418dfb852a7ca4200 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ori Liel <oliel@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
juan.hernandez@redhat.com