logging: Don't use PrintF when not needed (#1599)

These log print don't have any verbs, so just use plain Print
This commit is contained in:
Miek Gieben
2018-03-09 20:42:27 +00:00
committed by GitHub
parent 87790dd47c
commit 27f58d8dc6
6 changed files with 8 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ func (p *proxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
hj, ok := w.(http.Hijacker)
if !ok {
log.Printf("[ERROR] Unable to establish connection: no hijacker")
log.Print("[ERROR] Unable to establish connection: no hijacker")
http.Error(w, "Unable to establish connection: no hijacker", 500)
return
}