curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject curator git commit: wip
Date Thu, 05 May 2016 01:06:48 GMT
Repository: curator
Updated Branches:
  refs/heads/CURATOR-322 762472588 -> 1dbdbdc67


wip


Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/1dbdbdc6
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/1dbdbdc6
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/1dbdbdc6

Branch: refs/heads/CURATOR-322
Commit: 1dbdbdc675ebda9246bd6b2437bb4ce83e3bf594
Parents: 7624725
Author: randgalt <randgalt@apache.org>
Authored: Wed May 4 20:06:41 2016 -0500
Committer: randgalt <randgalt@apache.org>
Committed: Wed May 4 20:06:41 2016 -0500

----------------------------------------------------------------------
 curator-framework/src/site/confluence/schema.confluence | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/1dbdbdc6/curator-framework/src/site/confluence/schema.confluence
----------------------------------------------------------------------
diff --git a/curator-framework/src/site/confluence/schema.confluence b/curator-framework/src/site/confluence/schema.confluence
index 12b40f2..410d71a 100644
--- a/curator-framework/src/site/confluence/schema.confluence
+++ b/curator-framework/src/site/confluence/schema.confluence
@@ -48,11 +48,12 @@ Use SchemaSets to access ZNode paths by a simple name. E.g.
 {code}
 CuratorFramework client = ...
 String path = SchemaSet.getNamedPath(client, "locks");
+client.create().forPath(path);
 {code}
 
 h2. Loading JSON Schema from a file/stream
 
-An optional utility is provided to load SchemaSets from a JSON file or stream: SchemaSetLoader
+An optional utility is provided to load SchemaSets from a JSON file or stream: SchemaSetLoader.
 *NOTE:* to avoid adding a new dependency to Curator, the Jackson library has been used with
"provided" scope.
 You will need to add a dependency to jackson\-core and jackson\-databind to your project.
 


Mime
View raw message