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

This commit is contained in:
Ali Rizvi-Santiago 2017-03-23 15:36:40 -05:00
parent 5a4ce2165c
commit c978e27f0f
1 changed files with 0 additions and 1 deletions

View File

@ -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