Skip to content

Commit

Permalink
Update client.go
Browse files Browse the repository at this point in the history
  • Loading branch information
pberton authored Oct 28, 2024
1 parent 6c457b8 commit 3cc53a9
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 3cc53a9

Please sign in to comment.