Skip to content

Commit 7929bbb

Browse files
authored
fix: Improve download message (#240)
#### Summary <!-- 🎉 Thank you for making CloudQuery awesome by submitting a PR 🎉 --> <!-- Explain what problem this PR addresses --> --- Use the following steps to ensure your PR is ready to be reviewed - [ ] Read the [contribution guidelines](../blob/main/CONTRIBUTING.md) 🧑‍🎓 - [ ] Run `go fmt` to format your code 🖊 - [ ] Lint your changes via `golangci-lint run` 🚨 (install golangci-lint [here](https://golangci-lint.run/usage/install/#local-installation)) - [ ] Update or add tests 🧪 - [ ] Ensure the status checks below are successful ✅
1 parent e392f64 commit 7929bbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clients/download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func downloadFile(ctx context.Context, localPath string, url string) (err error)
9797
if resp.StatusCode != http.StatusOK {
9898
return fmt.Errorf("bad status: %s. downloading %s", resp.Status, url)
9999
}
100-
bar := progressbar.DefaultBytes(resp.ContentLength, "Downloading")
100+
bar := progressbar.DefaultBytes(resp.ContentLength, "Downloading: "+url)
101101

102102
// Writer the body to file
103103
_, err = io.Copy(io.MultiWriter(out, bar), resp.Body)

0 commit comments

Comments
 (0)