Browse Source
other is not uppercase
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
master
Dave Henderson
3 years ago
No known key found for this signature in database
GPG Key ID: 765A97405DCE5AFA
2 changed files with
2 additions and
2 deletions
-
metrics.go
-
modules/caddyhttp/metrics.go
|
|
@ -97,5 +97,5 @@ func sanitizeMethod(m string) string { |
|
|
|
return m |
|
|
|
} |
|
|
|
|
|
|
|
return "other" |
|
|
|
return "OTHER" |
|
|
|
} |
|
|
|
|
|
@ -180,7 +180,7 @@ func sanitizeMethod(m string) string { |
|
|
|
return m |
|
|
|
} |
|
|
|
|
|
|
|
return "other" |
|
|
|
return "OTHER" |
|
|
|
} |
|
|
|
|
|
|
|
// taken from https://github.com/prometheus/client_golang/blob/6007b2b5cae01203111de55f753e76d8dac1f529/prometheus/promhttp/instrument_server.go#L298
|
|
|
|