Skip to content

Commit 02a8aa4

Browse files
committed
Fix type for http_impl reply input
1 parent 4405061 commit 02a8aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prometheus_http_impl.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
?DOC("Renders metrics.").
1818
-spec reply(#{
19-
path => string(),
19+
path => true | string(),
2020
headers => fun((string(), string()) -> string()),
2121
registry => prometheus_registry:registry(),
2222
standalone => boolean()

0 commit comments

Comments
 (0)