aboutsummaryrefslogtreecommitdiffstats
path: root/priv
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2015-01-28 07:32:59 -0800
committerJordan Wilberding <[email protected]>2015-01-28 07:32:59 -0800
commitcb1ca05328cedd457eb4fa73012504d38db45523 (patch)
treeafb5cc249d46fddd585d41b7ef132d8ce99978f0 /priv
parent9fc9a2f6556d8e86633c87a29db7dc9419005c48 (diff)
parent941444eaf25f25b22c844e2d462838de1b3469ad (diff)
downloadrelx-cb1ca05328cedd457eb4fa73012504d38db45523.tar.gz
relx-cb1ca05328cedd457eb4fa73012504d38db45523.tar.bz2
relx-cb1ca05328cedd457eb4fa73012504d38db45523.zip
Merge pull request #302 from tsloughter/rpcterms_fix
treat rpcterm args as a string not a list of elements
Diffstat (limited to 'priv')
-rw-r--r--priv/templates/nodetool.dtl2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/nodetool.dtl b/priv/templates/nodetool.dtl
index 2f46395..80f1965 100644
--- a/priv/templates/nodetool.dtl
+++ b/priv/templates/nodetool.dtl
@@ -42,7 +42,7 @@ main(Args) ->
_ ->
halt(1)
end;
- ["rpcterms", Module, Function | ArgsAsString] ->
+ ["rpcterms", Module, Function, ArgsAsString] ->
case rpc:call(TargetNode, list_to_atom(Module), list_to_atom(Function),
consult(ArgsAsString), 60000) of
{badrpc, Reason} ->