chore(erlfmt): make the erlfmt happy

This commit is contained in:
Shawn 2022-04-28 18:20:39 +08:00
parent 6edb453ce9
commit 4b7d9b7239
1 changed files with 2 additions and 4 deletions

View File

@ -35,10 +35,8 @@ clear_certs(RltvDir, Config) ->
ok = emqx_tls_lib:delete_ssl_files(RltvDir, undefined, OldSSL).
new_ssl_config(Config, undefined) -> Config;
new_ssl_config(Config, #{<<"enable">> := _} = SSL) ->
Config#{<<"ssl">> => SSL};
new_ssl_config(Config, #{enable := _} = SSL) ->
Config#{ssl => SSL}.
new_ssl_config(Config, #{<<"enable">> := _} = SSL) -> Config#{<<"ssl">> => SSL};
new_ssl_config(Config, #{enable := _} = SSL) -> Config#{ssl => SSL}.
drop_invalid_certs(undefined) -> undefined;
drop_invalid_certs(SSL) -> emqx_tls_lib:drop_invalid_certs(SSL).