chore(authn): fix dialyzer
This commit is contained in:
parent
e6c01cb6e6
commit
f0ba6af660
|
@ -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.
|
||||||
|
|
|
@ -314,7 +314,7 @@ 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, #{}}.
|
||||||
|
|
Loading…
Reference in New Issue