Merge pull request #8708 from terry-xiaoyu/extra_schema_field_max_retries

fix: remove the extra fields max_retries
This commit is contained in:
Xinyu Liu 2022-08-12 18:16:04 +08:00 committed by GitHub
commit 87d7c16749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() ->
[