Przeglądaj źródła

fix(s3-bridge): update config typespecs

Andrew Mayorov 1 rok temu
rodzic
commit
39c2433afb

+ 2 - 0
apps/emqx_bridge_s3/src/emqx_bridge_s3_connector.erl

@@ -52,6 +52,7 @@
 }.
 
 -type s3_upload_parameters() :: #{
+    mode := direct,
     bucket := string(),
     key := string(),
     content := string(),
@@ -59,6 +60,7 @@
 }.
 
 -type s3_aggregated_upload_parameters() :: #{
+    mode := aggregated,
     bucket := string(),
     key := string(),
     acl => emqx_s3:acl(),