Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions client.go

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious if this is already included in the latest version?

Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,12 @@ func (c *HelmClient) UpdateChartRepos() error {
}

chartRepo.CachePath = c.Settings.RepositoryCache
_, err = chartRepo.DownloadIndexFile()
if err != nil {
return err

if !registry.IsOCI(entry.URL) {
_, err = chartRepo.DownloadIndexFile()
if err != nil {
return err
}
}

c.storage.Update(entry)
Expand Down