We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02a8aa4 commit 849deb3Copy full SHA for 849deb3
src/prometheus_http_config.erl
@@ -42,7 +42,7 @@
42
path() ->
43
get_value(path, ?DEFAULT_PATH).
44
45
--spec valid_path_and_registry(string(), prometheus_registry:registry()) ->
+-spec valid_path_and_registry(true | string(), prometheus_registry:registry()) ->
46
false
47
| {true, prometheus_registry:registry()}
48
| {registry_conflict, prometheus_registry:registry(), prometheus_registry:registry()}
0 commit comments