fix(emqx_ee_connector): fix passing of influxdb ssl opts

This commit is contained in:
Erik Timan 2023-01-23 15:02:23 +01:00
parent 9d20431257
commit 7603ab490b
1 changed files with 3 additions and 2 deletions

View File

@ -324,8 +324,9 @@ ssl_config(#{enable := false}) ->
ssl_config(SSL = #{enable := true}) ->
[
{https_enabled, true},
{transport, ssl}
] ++ maps:to_list(maps:remove(enable, SSL)).
{transport, ssl},
{transport_opts, maps:to_list(maps:remove(enable, SSL))}
].
username(#{username := Username}) ->
[{username, str(Username)}];