fix(redis): remove `required` meta from schema

Since there's a default value, this field shouldn't be marked as
required.
This commit is contained in:
Thales Macedo Garitezi 2023-03-29 16:41:42 -03:00
parent 9b35aeec6d
commit 806ee716ee
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,7 @@
%% -*- mode: erlang -*-
{application, emqx_connector, [
{description, "EMQX Data Integration Connectors"},
{vsn, "0.1.17"},
{vsn, "0.1.18"},
{registered, []},
{mod, {emqx_connector_app, []}},
{applications, [

View File

@ -285,7 +285,6 @@ redis_fields() ->
{database, #{
type => integer(),
default => 0,
required => true,
desc => ?DESC("database")
}},
{auto_reconnect, fun emqx_connector_schema_lib:auto_reconnect/1}