
Michael Pasternak 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 <masayag@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: Michael Pasternak: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/19364 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iab3422ef11f35b7a75d39f62cc5caa6f827ac7f4 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Moti Asayag <masayag@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpastern@redhat.com> Gerrit-Reviewer: Moti Asayag <masayag@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server