diff --git a/pkg/downloader/chart_downloader.go b/pkg/downloader/chart_downloader.go index e39c8ec5c..dbda9ce5a 100644 --- a/pkg/downloader/chart_downloader.go +++ b/pkg/downloader/chart_downloader.go @@ -111,7 +111,7 @@ func (c *ChartDownloader) DownloadTo(ref, version, dest string) (string, *proven destfile := filepath.Join(dest, name) if err := fileutil.AtomicWriteFile(destfile, data, 0644); err != nil { - fmt.Fprintf(&out, "Chart downloaded to: %s\n", destfile) + fmt.Fprintf(c.Out, "Chart downloaded to: %s\n", destfile) return destfile, nil, err }