chore(authn): fix dialyzer

This commit is contained in:
zhouzb 2021-08-19 15:58:09 +08:00
parent e6c01cb6e6
commit f0ba6af660
2 changed files with 5 additions and 5 deletions

View File

@ -101,9 +101,9 @@
}. }.
%% raw_config() is the config that is NOT parsed and tranlated by hocon schema %% raw_config() is the config that is NOT parsed and tranlated by hocon schema
-type raw_config() :: #{binary() => term()} | undefined. -type raw_config() :: #{binary() => term()} | list() | undefined.
%% config() is the config that is parsed and tranlated by hocon schema %% config() is the config that is parsed and tranlated by hocon schema
-type config() :: #{atom() => term()} | undefined. -type config() :: #{atom() => term()} | list() | undefined.
-type app_envs() :: [proplists:property()]. -type app_envs() :: [proplists:property()].
%% @doc For the given path, get root value enclosed in a single-key map. %% @doc For the given path, get root value enclosed in a single-key map.

View File

@ -314,9 +314,9 @@ list_users(ChainID, AuthenticatorID) ->
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
init(_Opts) -> init(_Opts) ->
ets:new(?CHAIN_TAB, [ named_table, set, public _ = ets:new(?CHAIN_TAB, [ named_table, set, public
, {keypos, #chain.id} , {keypos, #chain.id}
, {read_concurrency, true}]), , {read_concurrency, true}]),
{ok, #{}}. {ok, #{}}.
handle_call({create_chain, ID}, _From, State) -> handle_call({create_chain, ID}, _From, State) ->