refactor(emqx_prometheus_schema): use typerefl alias
This commit is contained in:
parent
ae24b45d1b
commit
46fffa401e
|
@ -57,7 +57,7 @@ fields("prometheus") ->
|
||||||
)},
|
)},
|
||||||
{headers,
|
{headers,
|
||||||
?HOCON(
|
?HOCON(
|
||||||
list({string(), string()}),
|
typerefl:alias("map", list({string(), string()})),
|
||||||
#{
|
#{
|
||||||
default => #{},
|
default => #{},
|
||||||
required => false,
|
required => false,
|
||||||
|
|
Loading…
Reference in New Issue