@marcel91200 / caddy Mirror · read-only / commits / 042abeb4
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 13, 23:00 UTC

other is not uppercase

Signed-off-by: Dave Henderson <dhenderson@gmail.com>

Dave Henderson committed Jan 22, 2022 at 19:30 UTC 042abeb431c55a12cc101efdb75b1c1b67340cb4
2 files changed +2 -2
metrics.go
+1 -1
@@ -97,5 +97,5 @@ func sanitizeMethod(m string) string {
97 return m
98 }
99
100 - return "other"
100 + return "OTHER"
101 }
modules/caddyhttp/metrics.go
+1 -1
@@ -180,7 +180,7 @@ func sanitizeMethod(m string) string {
180 return m
181 }
182
183 - return "other"
183 + return "OTHER"
184 }
185
186 // taken from https://github.com/prometheus/client_golang/blob/6007b2b5cae01203111de55f753e76d8dac1f529/prometheus/promhttp/instrument_server.go#L298