mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-06-11 20:35:12 +02:00
fix minor go fmt and go vet issues
This commit is contained in:
parent
7d53c5100d
commit
4a6b8653b6
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue