Michael Pasternak has submitted this change and it was merged.
Change subject: restapi: Update only cluster id in addParents
......................................................................
restapi: Update only cluster id in addParents
Modified BackendGlusterVolumesResource#addParents to update
only cluster id instead of whole object, so that it appears
as link to parent cluster instead of whole element in the
REST xml output.
Change-Id: I2e5b5dcdf1109b60fbb492299029624a0835199c
Signed-off-by: Shireesh Anjal <sanjal(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterVolumesResource.java
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
Michael Pasternak: Looks good to me, approved
Shireesh Anjal: Verified
--
To view, visit
http://gerrit.ovirt.org/5016
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2e5b5dcdf1109b60fbb492299029624a0835199c
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shireesh Anjal <sanjal(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: Shireesh Anjal <sanjal(a)redhat.com>