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
-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
-type config() :: #{atom() => term()} | undefined.
-type config() :: #{atom() => term()} | list() | undefined.
-type app_envs() :: [proplists:property()].
%% @doc For the given path, get root value enclosed in a single-key map.

View File

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