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