diff options
author | Jordan Wilberding <[email protected]> | 2015-01-28 07:32:59 -0800 |
---|---|---|
committer | Jordan Wilberding <[email protected]> | 2015-01-28 07:32:59 -0800 |
commit | cb1ca05328cedd457eb4fa73012504d38db45523 (patch) | |
tree | afb5cc249d46fddd585d41b7ef132d8ce99978f0 /priv | |
parent | 9fc9a2f6556d8e86633c87a29db7dc9419005c48 (diff) | |
parent | 941444eaf25f25b22c844e2d462838de1b3469ad (diff) | |
download | relx-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.dtl | 2 |
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} -> |