From 3cc53a9fbf31f573f93f2daaf63479f2024a96f7 Mon Sep 17 00:00:00 2001 From: pberton <1789738+pberton@users.noreply.github.com> Date: Sun, 27 Oct 2024 18:12:24 -0700 Subject: [PATCH] Update client.go --- client.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client.go b/client.go index a76ab28..944adc4 100644 --- a/client.go +++ b/client.go @@ -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)