Merge pull request #31577 from megha1906/main

chore: fix typo in pkg/downloader/chart_downloader.go
pull/31212/merge
Robert Sirchia 1 month ago committed by GitHub
commit dbd07fa16c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -80,7 +80,7 @@ type ChartDownloader struct {
// ContentCache is the location where Cache stores its files by default
// In previous versions of Helm the charts were put in the RepositoryCache. The
// repositories and charts are stored in 2 difference caches.
// repositories and charts are stored in 2 different caches.
ContentCache string
// Cache specifies the cache implementation to use.
@ -104,7 +104,7 @@ func (c *ChartDownloader) DownloadTo(ref, version, dest string) (string, *proven
return "", nil, errors.New("content cache must be set")
}
c.Cache = &DiskCache{Root: c.ContentCache}
slog.Debug("setup up default downloader cache")
slog.Debug("set up default downloader cache")
}
hash, u, err := c.ResolveChartVersion(ref, version)
if err != nil {
@ -209,7 +209,7 @@ func (c *ChartDownloader) DownloadToCache(ref, version string) (string, *provena
return "", nil, errors.New("content cache must be set")
}
c.Cache = &DiskCache{Root: c.ContentCache}
slog.Debug("setup up default downloader cache")
slog.Debug("set up default downloader cache")
}
digestString, u, err := c.ResolveChartVersion(ref, version)

Loading…
Cancel
Save