Skip to content

Commit 05b980c

Browse files
authored
Merge pull request #540 from fluxcd/helm-repo-index-err-fix
2 parents d2eec33 + 8aad552 commit 05b980c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/helm/repository/chart_repository.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ func (r *ChartRepository) CacheIndex() (string, error) {
269269
if err = r.DownloadIndex(mw); err != nil {
270270
f.Close()
271271
os.RemoveAll(f.Name())
272-
return "", fmt.Errorf("failed to cache index to '%s': %w", f.Name(), err)
272+
return "", fmt.Errorf("failed to cache index to temporary file: %w", err)
273273
}
274274
if err = f.Close(); err != nil {
275275
os.RemoveAll(f.Name())

0 commit comments

Comments
 (0)