Ori Liel has submitted this change and it was merged.

Change subject: restapi: GET vm nic/disk does not work
......................................................................


restapi: GET vm nic/disk does not work

In a recent change, an interface method with a generic return value
was overriden in an inheriting interface, and the generic return
value was replaced with the concrete return value. Rest-easy seems to
have difficulties with this.

This patch overrides the method in the implementing class and calls
super(), which seems to resolve the ambiguity for rest-easy.

Change-Id: Id1df3c20e593cd78b022d5b26582a1da8f4043f9
Signed-off-by: Ori Liel <[email protected]>
---
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDiskResource.java
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResource.java
2 files changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Ori Liel: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id1df3c20e593cd78b022d5b26582a1da8f4043f9
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ori Liel <[email protected]>
Gerrit-Reviewer: Eyal Edri <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Ori Liel <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to