anmolbabu has uploaded a new change for review. Change subject: engine : refactoring vds commands for create and delete ......................................................................
engine : refactoring vds commands for create and delete Change-Id: Ibb6354afa4e543fc6e3a8fe669f37ffaee400c53 Signed-off-by: Anmol Babu <[email protected]> --- M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterHostsPubKeyReturnForXmlRpc.java 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/50/39250/1 diff --git a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterHostsPubKeyReturnForXmlRpc.java b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterHostsPubKeyReturnForXmlRpc.java index 3f371fd..90e03af 100644 --- a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterHostsPubKeyReturnForXmlRpc.java +++ b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterHostsPubKeyReturnForXmlRpc.java @@ -9,12 +9,16 @@ public class GlusterHostsPubKeyReturnForXmlRpc extends StatusReturnForXmlRpc { private List<String> geoRepPublicKeys = null; + private static final String INFO = "info"; private static final String GEO_REP_PUB_KEYS = "geoRepPubKeys"; @SuppressWarnings("unchecked") public GlusterHostsPubKeyReturnForXmlRpc(Map<String, Object> innerMap) { super(innerMap); + if(innerMap.containsKey("info")) { + innerMap = (Map<String, Object>) innerMap.get(INFO); + } if (innerMap.containsKey(GEO_REP_PUB_KEYS)) { Object[] keys = (Object[]) innerMap.get(GEO_REP_PUB_KEYS); for (Object key : keys) { -- To view, visit https://gerrit.ovirt.org/39250 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibb6354afa4e543fc6e3a8fe669f37ffaee400c53 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: anmolbabu <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
