Itamar Heim has submitted this change and it was merged. Change subject: restapi: Prevent NPE when getting statistics ......................................................................
restapi: Prevent NPE when getting statistics VDSM doesn't report statistics for all of the network interfaces (i.e. vlans, see [1] for more details) therefore the restapi shouldn't expect a wrapper not to be null and prevent autoboxing to avoid NPE. [1] https://bugzilla.redhat.com/675560 Change-Id: Iab3422ef11f35b7a75d39f62cc5caa6f827ac7f4 Bug-Url: https://bugzilla.redhat.com/993123 Signed-off-by: Moti Asayag <masa...@redhat.com> --- M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/util/RxTxCalculator.java 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Itamar Heim: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/19461 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iab3422ef11f35b7a75d39f62cc5caa6f827ac7f4 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.3 Gerrit-Owner: Moti Asayag <masa...@redhat.com> Gerrit-Reviewer: Itamar Heim <ih...@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com> Gerrit-Reviewer: Moti Asayag <masa...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches