fix: remove the extra fields max_retries

This commit is contained in:
Shawn 2022-08-12 17:42:54 +08:00
parent c7f6517aee
commit 3cb79e811f
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
%% -*- mode: erlang -*-
{application, emqx_bridge, [
{description, "An OTP application"},
{vsn, "0.1.1"},
{vsn, "0.1.2"},
{registered, []},
{mod, {emqx_bridge_app, []}},
{applications, [

View File

@ -51,7 +51,9 @@ basic_config() ->
}
)}
] ++
proplists:delete(base_url, emqx_connector_http:fields(config)).
proplists:delete(
max_retries, proplists:delete(base_url, emqx_connector_http:fields(config))
).
request_config() ->
[