You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/03/18 11:05:17 UTC

[3/4] couchdb commit: updated refs/heads/developer-preview-2.0 to 14c55b4

Add underscore prefix for nodes database name

This closes #306

COUCHDB-2619


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/2e3e60ce
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/2e3e60ce
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/2e3e60ce

Branch: refs/heads/developer-preview-2.0
Commit: 2e3e60cea20d7b1a9fa27411dbefd99da1ac08ec
Parents: 51e946e
Author: Alexander Shorin <kx...@apache.org>
Authored: Wed Feb 25 22:04:41 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Thu Feb 26 23:25:43 2015 +0300

----------------------------------------------------------------------
 dev/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/2e3e60ce/dev/run
----------------------------------------------------------------------
diff --git a/dev/run b/dev/run
index ada5492..93de0f9 100755
--- a/dev/run
+++ b/dev/run
@@ -300,7 +300,7 @@ def join_nodes(ctx, host, port):
     for node in ctx['nodes']:
         body = "{}"
         conn = httpclient.HTTPConnection(host, port)
-        conn.request("PUT", "/nodes/%s@127.0.0.1" % node, body)
+        conn.request("PUT", "/_nodes/%s@127.0.0.1" % node, body)
         resp = conn.getresponse()
         if resp.status not in (200, 201, 202, 409):
             print('Failed to join %s into cluster' % node, resp.reason)