mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 06:03:48 +03:00
other is not uppercase
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
This commit is contained in:
parent
eb891d4683
commit
042abeb431
2 changed files with 2 additions and 2 deletions
|
@ -97,5 +97,5 @@ func sanitizeMethod(m string) string {
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
|
||||||
return "other"
|
return "OTHER"
|
||||||
}
|
}
|
||||||
|
|
|
@ -180,7 +180,7 @@ func sanitizeMethod(m string) string {
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
|
||||||
return "other"
|
return "OTHER"
|
||||||
}
|
}
|
||||||
|
|
||||||
// taken from https://github.com/prometheus/client_golang/blob/6007b2b5cae01203111de55f753e76d8dac1f529/prometheus/promhttp/instrument_server.go#L298
|
// taken from https://github.com/prometheus/client_golang/blob/6007b2b5cae01203111de55f753e76d8dac1f529/prometheus/promhttp/instrument_server.go#L298
|
||||||
|
|
Loading…
Reference in a new issue