Permalink
Browse files

Minor edoc fix

edoc inserted a type spec into the signature ("Options :: Opts") when
@spec and code used different variable names.
  • Loading branch information...
1 parent a60680b commit 0dde6af789f55458604da0337f265edf1eea764d Anders Svensson committed Mar 7, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/common_test/src/ct_slave.erl
@@ -176,15 +176,15 @@ start(Host, Node) ->
%%% <code>NodeName</code> is the name of current node in this case.</item>
%%% </list></p>
%%%
-start(Host, Node, Options) ->
+start(Host, Node, Opts) ->
ENode = enodename(Host, Node),
case erlang:is_alive() of
false->
{error, not_alive, node()};
true->
case is_started(ENode) of
false->
- OptionsRec = fetch_options(Options),
+ OptionsRec = fetch_options(Opts),
do_start(Host, Node, OptionsRec);
{true, not_connected}->
{error, started_not_connected, ENode};

0 comments on commit 0dde6af

Please sign in to comment.