fix minor go fmt and go vet issues

This commit is contained in:
Will Norris 2019-03-22 08:05:59 +00:00
parent 7d53c5100d
commit 4a6b8653b6
2 changed files with 2 additions and 2 deletions

View file

@ -202,7 +202,7 @@ func (p *Proxy) serveImage(w http.ResponseWriter, r *http.Request) {
// keys will be copied.
func copyHeader(dst, src http.Header, keys ...string) {
if len(keys) == 0 {
for k, _ := range src {
for k := range src {
keys = append(keys, k)
}
}