0
Fork 0
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:
Will Norris 2021-11-05 08:32:19 -07:00
parent 0f2deb14d2
commit a4d659dafd

View file

@ -138,7 +138,7 @@ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
if r.URL.Path == "/metrics" {
var h http.Handler = promhttp.Handler()
var h = promhttp.Handler()
h.ServeHTTP(w, r)
return
}