grr. removed an assignment that was dead in common/download.go.

pull/2906/head
Ali Rizvi-Santiago 9 years ago
parent 5a4ce2165c
commit c978e27f0f

@ -161,7 +161,6 @@ func (d *DownloadClient) Get() (string, error) {
local, ok := d.downloader.(LocalDownloader)
if !ok && !d.config.CopyFile {
return "", fmt.Errorf("Not allowed to use uri scheme %s in no copy file mode : %T", u.Scheme, d.downloader)
d.config.CopyFile = true
}
// If we're copying the file, then just use the actual downloader

Loading…
Cancel
Save