Tal Nisan has submitted this change and it was merged.

Change subject: restapi: Fix NPE on Jboss startup
......................................................................


restapi: Fix NPE on Jboss startup

Fixed an NPE on Jboss startup caused by trying to get the wrong key from
the stats map, the name was changed along with the StorageDomain entity name
change but was supposed to remain the same since the stat name is hardcoded
in GetSystemStatisticsQuery

Change-Id: I66643eb750dd1f7d7054db387a24a843b211a7c5
Signed-off-by: Tal Nisan <[email protected]>
---
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendApiResource.java
M 
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendApiResourceTest.java
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Tal Nisan: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/12102
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I66643eb750dd1f7d7054db387a24a843b211a7c5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to