Change in ovirt-engine[ovirt-engine-3.3]: restapi: Prevent NPE when getting statistics
iheim at redhat.com
iheim at redhat.com
Sun Sep 29 09:34:47 UTC 2013
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 <masayag at 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 <masayag at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list