Update pkg/downloader/chart_downloader.go

Co-authored-by: Joe Julian <me@joejulian.name>
pull/10695/head
Daniel 4 years ago committed by GitHub
parent 169ccbec54
commit e6d5a851d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -86,8 +86,6 @@ type ChartDownloader struct {
// Returns a string path to the location where the file was downloaded and a verification
// (if provenance was verified), or an error if something bad happened.
func (c *ChartDownloader) DownloadTo(ref, version, dest string) (string, *provenance.Verification, error) {
var out strings.Builder
u, err := c.ResolveChartVersion(ref, version)
if err != nil {
return "", nil, err

Loading…
Cancel
Save