refactor(emqx_prometheus_schema): use typerefl alias

This commit is contained in:
Zaiming (Stone) Shi 2023-11-08 19:42:44 +01:00
parent ae24b45d1b
commit 46fffa401e
1 changed files with 1 additions and 1 deletions

View File

@ -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,