fix(emqx_auth_redis_cli): Dialyzer warnings
This commit is contained in:
parent
b5e0386c98
commit
822460377c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue