From da2ba6447b0c927c6481db7e58e15cd31da4ebeb Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Sun, 12 Aug 2018 06:05:44 -0600 Subject: [PATCH] Fix linting errors in cmd package (#704) --- cmd/download.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/download.go b/cmd/download.go index 031ba877..4d6d02e5 100644 --- a/cmd/download.go +++ b/cmd/download.go @@ -168,14 +168,14 @@ func runDownload(cfg config.Config, flags *pflag.FlagSet, args []string) error { } for _, file := range payload.Solution.Files { - unparsedUrl := fmt.Sprintf("%s%s", payload.Solution.FileDownloadBaseURL, file) - parsedUrl, err := netURL.ParseRequestURI(unparsedUrl) + unparsedURL := fmt.Sprintf("%s%s", payload.Solution.FileDownloadBaseURL, file) + parsedURL, err := netURL.ParseRequestURI(unparsedURL) if err != nil { return err } - url := parsedUrl.String() + url := parsedURL.String() req, err := client.NewRequest("GET", url, nil) if err != nil {