summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyanda Dube <ayanda.dube@erlang-solutions.com>2015-09-09 16:17:08 +0100
committerAyanda Dube <ayanda.dube@erlang-solutions.com>2015-10-07 08:46:41 +0100
commit31eaf2f177260b194ddf62c7f6deb019ce8d3d60 (patch)
tree1c5e9241dfb180b01181f4c94b536afb6596e13e
parent7d8af0eea84e60358d951fc24ac5d51713e54f5f (diff)
downloadrabbitmq-server-git-31eaf2f177260b194ddf62c7f6deb019ce8d3d60.tar.gz
Updates rpc_call function spec.
References #62
-rw-r--r--src/rabbit_cli.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rabbit_cli.erl b/src/rabbit_cli.erl
index 6147f7a120..9d6440c382 100644
--- a/src/rabbit_cli.erl
+++ b/src/rabbit_cli.erl
@@ -38,9 +38,10 @@
-spec(parse_arguments/4 ::
([{atom(), [{string(), optdef()}]} | atom()],
[{string(), optdef()}], string(), [string()]) -> parse_result()).
--spec(rpc_call/4 :: (node(), atom(), atom(), [any()]) -> any()).
--spec(rpc_call/5 :: (node(), atom(), atom(), [any()]) -> any()).
--spec(rpc_call/7 :: (node(), atom(), atom(), [any()]) -> any()).
+-spec(rpc_call/4 :: (node(), atom(), atom(), [any()]) -> any()).
+-spec(rpc_call/5 :: (node(), atom(), atom(), [any()], number()) -> any()).
+-spec(rpc_call/7 :: (node(), atom(), atom(), [any()], reference(), pid(),
+ number()) -> any()).
-endif.