From 424ee658669a465cd92b42ef030b245778facd93 Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Fri, 14 Aug 2015 17:34:39 -0700 Subject: [PATCH] Added a log message when we use a local file instead of downloading one --- common/download.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common/download.go b/common/download.go index 16c0724c3..184624ffe 100644 --- a/common/download.go +++ b/common/download.go @@ -117,6 +117,7 @@ func (d *DownloadClient) Get() (string, error) { var finalPath string if url.Scheme == "file" && !d.config.CopyFile { finalPath = url.Path + log.Printf("Using local file: %s", finalPath) // Remove forward slash on absolute Windows file URLs before processing if runtime.GOOS == "windows" && len(finalPath) > 0 && finalPath[0] == '/' {