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:
parent
9b35aeec6d
commit
806ee716ee
|
@ -1,7 +1,7 @@
|
||||||
%% -*- mode: erlang -*-
|
%% -*- mode: erlang -*-
|
||||||
{application, emqx_connector, [
|
{application, emqx_connector, [
|
||||||
{description, "EMQX Data Integration Connectors"},
|
{description, "EMQX Data Integration Connectors"},
|
||||||
{vsn, "0.1.17"},
|
{vsn, "0.1.18"},
|
||||||
{registered, []},
|
{registered, []},
|
||||||
{mod, {emqx_connector_app, []}},
|
{mod, {emqx_connector_app, []}},
|
||||||
{applications, [
|
{applications, [
|
||||||
|
|
|
@ -285,7 +285,6 @@ redis_fields() ->
|
||||||
{database, #{
|
{database, #{
|
||||||
type => integer(),
|
type => integer(),
|
||||||
default => 0,
|
default => 0,
|
||||||
required => true,
|
|
||||||
desc => ?DESC("database")
|
desc => ?DESC("database")
|
||||||
}},
|
}},
|
||||||
{auto_reconnect, fun emqx_connector_schema_lib:auto_reconnect/1}
|
{auto_reconnect, fun emqx_connector_schema_lib:auto_reconnect/1}
|
||||||
|
|
Loading…
Reference in New Issue