grr. removed an assignment that was dead in common/download.go.
This commit is contained in:
parent
5a4ce2165c
commit
c978e27f0f
|
@ -161,7 +161,6 @@ func (d *DownloadClient) Get() (string, error) {
|
||||||
local, ok := d.downloader.(LocalDownloader)
|
local, ok := d.downloader.(LocalDownloader)
|
||||||
if !ok && !d.config.CopyFile {
|
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)
|
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
|
// If we're copying the file, then just use the actual downloader
|
||||||
|
|
Loading…
Reference in New Issue