Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
fmontorsi-equinix authored Dec 9, 2024
2 parents ff2969f + 08a142e commit bf69d23
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,11 @@ 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

0 comments on commit bf69d23

Please sign in to comment.