Permalink
Browse files

Keep the backwards API compatible start_link/1 the same as start/1 fo…

…r now
  • Loading branch information...
1 parent 40a2253 commit 31fef55cdd468b0507a388f03427388c8e810ff1 @devinus committed Sep 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/poolboy.erl
View
@@ -65,7 +65,7 @@ child_spec(Pool, PoolArgs, WorkerArgs) ->
-spec start(PoolArgs :: proplists:proplist())
-> {ok, pid()}.
start(PoolArgs) ->
- start(PoolArgs, []).
+ start(PoolArgs, PoolArgs).
-spec start(PoolArgs :: proplists:proplist(),
WorkerArgs:: proplists:proplist())

0 comments on commit 31fef55

Please sign in to comment.