Fix some dialyzer issues
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
-behaviour(gen_server).
|
||||
|
||||
%% API
|
||||
-export([start_link/1, exists/2, write/3]).
|
||||
-export([start_link/1, exists/2, write/3, stop/1]).
|
||||
|
||||
%% gen_server callbacks
|
||||
-export([init/1, handle_call/3, handle_cast/2, handle_info/2,
|
||||
@@ -25,6 +25,9 @@
|
||||
%%% API
|
||||
%%%===================================================================
|
||||
|
||||
stop(Pid) ->
|
||||
gen_server:call(Pid, stop).
|
||||
|
||||
%% @doc
|
||||
%% Starts the server
|
||||
-spec start_link(term()) -> {ok, pid()} | ignore | {error, term()}.
|
||||
|
||||
Reference in New Issue
Block a user