Permalink
Browse files

Fixing configuration typespec

Also bumping to 0.1.2
  • Loading branch information...
ferd committed Feb 26, 2013
1 parent 72572a1 commit 4cd8bd6fc6b763cbfc6b1e59c10ee59989ed4eaf
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/dispcount.app.src
  2. +1 −1 src/dispcount_serv.erl
View
@@ -1,7 +1,7 @@
{application, dispcount, [
{description, "A dispatching library for resources and "
"task limiting based on shared counters"},
- {vsn, "0.1.1"},
+ {vsn, "0.1.2"},
{applications, [kernel, stdlib]},
{registered, []},
{mod, {dispcount,[]}},
View
@@ -18,7 +18,7 @@ start_link(Parent, Name, {M,A}, Opts) ->
wait_for_dispatch(Name, Timeout) ->
gen_server:call(get_name(Name), wait_for_tables, Timeout).
--spec get_info(Name::atom()) -> #config{}.
+-spec get_info(Name::atom()) -> {ok, #config{}}.
get_info(Name) ->
gen_server:call(get_name(Name), get_info).

0 comments on commit 4cd8bd6

Please sign in to comment.