refactor: remove already bound variable
This commit is contained in:
parent
908e7b42f3
commit
c62410ff75
|
@ -450,7 +450,6 @@ connect(Options) ->
|
||||||
options => emqx_utils:redact(Options)
|
options => emqx_utils:redact(Options)
|
||||||
}),
|
}),
|
||||||
Name = proplists:get_value(name, Options),
|
Name = proplists:get_value(name, Options),
|
||||||
WorkerId = proplists:get_value(ecpool_worker_id, Options),
|
|
||||||
ClientOpts = proplists:get_value(client_opts, Options),
|
ClientOpts = proplists:get_value(client_opts, Options),
|
||||||
case emqtt:start_link(mk_client_opts(Name, WorkerId, ClientOpts)) of
|
case emqtt:start_link(mk_client_opts(Name, WorkerId, ClientOpts)) of
|
||||||
{ok, Pid} ->
|
{ok, Pid} ->
|
||||||
|
|
Loading…
Reference in New Issue