From 6da5ae2a0fa258afc2ed891fb9fe0d5ee5a79334 Mon Sep 17 00:00:00 2001 From: Alexandr Danilin Date: Mon, 17 Nov 2025 14:02:53 +0300 Subject: [PATCH] Fixes #31496 Signed-off-by: Alexandr Danilin --- pkg/downloader/manager.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/downloader/manager.go b/pkg/downloader/manager.go index 522c57053..4ac6c2e41 100644 --- a/pkg/downloader/manager.go +++ b/pkg/downloader/manager.go @@ -198,13 +198,13 @@ func (m *Manager) Update() error { if !isLocalDependency(dep.Repository) { continue } - man := *m - // no need to update repositories, it is already done in main chart - man.SkipUpdate = true - chartpath, err := resolver.GetLocalPath(dep.Repository, man.ChartPath) + chartpath, err := resolver.GetLocalPath(dep.Repository, m.ChartPath) if err != nil { return err } + man := *m + // no need to update repositories, it is already done in main chart + man.SkipUpdate = true man.ChartPath = chartpath err = man.Update() if err != nil {