mirror of
https://github.com/willnorris/imageproxy.git
synced 2024-12-16 21:56:43 -05:00
style: remove unnecessary type declaration
This commit is contained in:
parent
0f2deb14d2
commit
a4d659dafd
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if r.URL.Path == "/metrics" {
|
if r.URL.Path == "/metrics" {
|
||||||
var h http.Handler = promhttp.Handler()
|
var h = promhttp.Handler()
|
||||||
h.ServeHTTP(w, r)
|
h.ServeHTTP(w, r)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue