v2: housekeeping: address minor lint complaints (#2957)

* v2: housekeeping: update tools

* v2: housekeeping: adhere to US locale in spelling

* v2: housekeeping: simplify code
This commit is contained in:
Mohammed Al Sahaf
2020-01-03 21:33:22 +03:00
committed by Matt Holt
parent 8c7c2e4af2
commit dff78d82ce
9 changed files with 12 additions and 15 deletions

View File

@ -68,7 +68,6 @@ func (h Handler) handleUpgradeResponse(rw http.ResponseWriter, req *http.Request
go spc.copyToBackend(errc)
go spc.copyFromBackend(errc)
<-errc
return
}
// flushInterval returns the p.FlushInterval value, conditionally