fix(s3): drop default from `acl` config field

This commit is contained in:
Andrew Mayorov 2023-04-27 18:42:06 +03:00
parent 811e449357
commit a79cf681f7
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
3 changed files with 1 additions and 3 deletions

View File

@ -57,7 +57,7 @@
port := part_number(),
bucket := string(),
headers := headers(),
acl := emqx_s3:acl(),
acl := emqx_s3:acl() | undefined,
url_expire_time := pos_integer(),
access_key_id := string() | undefined,
secret_access_key := string() | undefined,

View File

@ -105,7 +105,6 @@ fields(s3) ->
bucket_owner_full_control
]),
#{
default => private,
desc => ?DESC("acl"),
required => false
}

View File

@ -23,7 +23,6 @@ t_minimal_config(_Config) ->
bucket := "bucket",
host := "s3.us-east-1.endpoint.com",
port := 443,
acl := private,
min_part_size := 5242880,
transport_options :=
#{