Return ok from start/2
This commit is contained in:
parent
7a9fa52e91
commit
6808865068
|
@ -100,7 +100,8 @@ hosts_to_start(State) ->
|
|||
-spec start(Hosts :: [binary()], Opts :: [acl:acl() | local_config()]) -> ok.
|
||||
start(Hosts, Opts) ->
|
||||
mnesia_init(),
|
||||
set_opts(set_hosts_in_options(Hosts, #state{opts = Opts})).
|
||||
set_opts(set_hosts_in_options(Hosts, #state{opts = Opts})),
|
||||
ok.
|
||||
|
||||
mnesia_init() ->
|
||||
case catch mnesia:table_info(local_config, storage_type) of
|
||||
|
|
Loading…
Reference in New Issue