Skip to content

Commit

Permalink
Merge pull request #221 from pberton/patch-1
Browse files Browse the repository at this point in the history
Update client.go
  • Loading branch information
elenz97 authored Nov 20, 2024
2 parents c71ccfd + 3cc53a9 commit 08a142e
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 08a142e

Please sign in to comment.