fix(emqx_auth_redis_cli): Dialyzer warnings

This commit is contained in:
ayodele.akingbule 2020-11-20 13:46:46 +01:00 committed by Zaiming Shi
parent b5e0386c98
commit 822460377c
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ connect(Opts) ->
Host = case Sentinel =:= "" of
true -> get_value(host, Opts);
false ->
eredis_sentinel:start_link(get_value(servers, Opts)),
_ = eredis_sentinel:start_link(get_value(servers, Opts)),
"sentinel:" ++ Sentinel
end,
case eredis:start_link(Host,