You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by zz...@apache.org on 2013/05/28 23:37:11 UTC

git commit: fix a backward incompatibility problem in accessing zkPath from HelixAdmin

Updated Branches:
  refs/heads/master 1b3f53e1f -> 0d2bedb6d


fix a backward incompatibility problem in accessing zkPath from HelixAdmin


Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/0d2bedb6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/0d2bedb6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/0d2bedb6

Branch: refs/heads/master
Commit: 0d2bedb6d5521ab60beb54ae5cb2ce0a09bfdb23
Parents: 1b3f53e
Author: zzhang <zz...@uci.edu>
Authored: Tue May 28 14:37:04 2013 -0700
Committer: zzhang <zz...@uci.edu>
Committed: Tue May 28 14:37:04 2013 -0700

----------------------------------------------------------------------
 .../helix/webapp/resources/ZkPathResource.java     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/0d2bedb6/helix-admin-webapp/src/main/java/org/apache/helix/webapp/resources/ZkPathResource.java
----------------------------------------------------------------------
diff --git a/helix-admin-webapp/src/main/java/org/apache/helix/webapp/resources/ZkPathResource.java b/helix-admin-webapp/src/main/java/org/apache/helix/webapp/resources/ZkPathResource.java
index 2db6226..b5242a3 100644
--- a/helix-admin-webapp/src/main/java/org/apache/helix/webapp/resources/ZkPathResource.java
+++ b/helix-admin-webapp/src/main/java/org/apache/helix/webapp/resources/ZkPathResource.java
@@ -188,7 +188,7 @@ public class ZkPathResource extends Resource
     List<String> children = zkClient.getChildren(zkPath);
     if (children != null && children.size() > 0)
     {
-      result.setListField("childrenList", children);
+      result.setListField("children", children);
     }
     return result;
   }