1
0
Fork 0

Fix command line args.

This commit is contained in:
Max Neunhoeffer 2014-02-10 13:30:11 +01:00
parent 9113732a53
commit d8d568297c
1 changed files with 5 additions and 6 deletions

View File

@ -259,12 +259,11 @@ launchActions.startServers = function (dispatchers, cmd, isRelaunch) {
body = JSON.parse(res.body);
ep = JSON.parse(body.node.value);
port = getPort(ep);
args = [];
args.concat(dispatchers[cmd.dispatcher].arangodExtraArgs);
args.concat(["--cluster.my-id", id,
"--cluster.agency-prefix", cmd.agency.agencyPrefix,
"--cluster.agency-endpoint", cmd.agency.endpoints[0],
"--server.endpoint"]);
args = dispatchers[cmd.dispatcher].arangodExtraArgs;
args = args.concat(["--cluster.my-id", id,
"--cluster.agency-prefix", cmd.agency.agencyPrefix,
"--cluster.agency-endpoint", cmd.agency.endpoints[0],
"--server.endpoint"]);
if (cmd.onlyLocalhost) {
args.push("tcp://127.0.0.1:"+port);
}