diff --git a/common/config.go b/common/config.go index e3fd4baf8..2ad5b528e 100644 --- a/common/config.go +++ b/common/config.go @@ -58,7 +58,7 @@ func SupportedURL(u *url.URL) bool { // Iterate through each downloader to see if a protocol was found. ok := false - for scheme, _ := range cli.config.DownloaderMap { + for scheme := range cli.config.DownloaderMap { if strings.ToLower(u.Scheme) == strings.ToLower(scheme) { ok = true }