Change in ovirt-engine[master]: restapi: fix NPE on ReloadConfigurationsCommand

Juan Hernandez has submitted this change and it was merged. Change subject: restapi: fix NPE on ReloadConfigurationsCommand ...................................................................... restapi: fix NPE on ReloadConfigurationsCommand org.ovirt.engine.api.model.API is not registered in org.ovirt.engine.api.utils.LinkHelper#TYPES. This situation produces produces NPE. Added precondition test and return 'null', which is sufficient since API resource does not have related Collection and it's not an entity. Change-Id: I70fd6b084a33bc7770de245c0001d3eefbb58b66 Signed-off-by: Martin Mucha <mmucha@redhat.com> --- M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/utils/LinkHelper.java 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved Moti Asayag: Looks good to me, but someone else must approve -- To view, visit http://gerrit.ovirt.org/34649 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I70fd6b084a33bc7770de245c0001d3eefbb58b66 Gerrit-PatchSet: 6 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Martin Mucha <mmucha@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Martin Mucha <mmucha@redhat.com> Gerrit-Reviewer: Moti Asayag <masayag@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
juan.hernandez@redhat.com