ソースを参照

fix(schema): use `hoconsc:union/1`

Thales Macedo Garitezi 2 年 前
コミット
d2cf29fae4
1 ファイル変更1 行追加1 行削除
  1. 1 1
      apps/emqx_auth_ldap/src/emqx_authn_ldap_schema.erl

+ 1 - 1
apps/emqx_auth_ldap/src/emqx_authn_ldap_schema.erl

@@ -55,7 +55,7 @@ fields(ldap) ->
         [
             {method,
                 ?HOCON(
-                    ?UNION([?R_REF(hash_method), ?R_REF(bind_method)]),
+                    hoconsc:union([?R_REF(hash_method), ?R_REF(bind_method)]),
                     #{desc => ?DESC(method)}
                 )}
         ];