summaryrefslogtreecommitdiff
path: root/dev/run
diff options
context:
space:
mode:
authorAlexander Shorin <kxepal@apache.org>2015-02-25 22:04:41 +0300
committerAlexander Shorin <kxepal@apache.org>2015-02-26 23:25:43 +0300
commit2e3e60cea20d7b1a9fa27411dbefd99da1ac08ec (patch)
tree642c773fc9568b2b2f0f33224b3e1f970dfa4398 /dev/run
parent51e946e2a0f6734c44ae87cff5c0d4e85d2acdc3 (diff)
downloadcouchdb-2e3e60cea20d7b1a9fa27411dbefd99da1ac08ec.tar.gz
Add underscore prefix for nodes database name
This closes #306 COUCHDB-2619
Diffstat (limited to 'dev/run')
-rwxr-xr-xdev/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/run b/dev/run
index ada5492f4..93de0f9ba 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)