fix(schema): use `hoconsc:union/1`
This commit is contained in:
parent
423fb32171
commit
d2cf29fae4
|
@ -55,7 +55,7 @@ fields(ldap) ->
|
||||||
[
|
[
|
||||||
{method,
|
{method,
|
||||||
?HOCON(
|
?HOCON(
|
||||||
?UNION([?R_REF(hash_method), ?R_REF(bind_method)]),
|
hoconsc:union([?R_REF(hash_method), ?R_REF(bind_method)]),
|
||||||
#{desc => ?DESC(method)}
|
#{desc => ?DESC(method)}
|
||||||
)}
|
)}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue