Update pkg/downloader/manager.go

Co-authored-by: Evans Mungai <mbuevans@gmail.com>
Signed-off-by: Alik Khilazhev <7482065+alikhil@users.noreply.github.com>
pull/30855/head
Alik Khilazhev 6 days ago committed by GitHub
parent f2d5516930
commit 6f01480d8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -241,6 +241,7 @@ func (m *Manager) doUpdate(chartPath string) error {
}
func (m *Manager) loadChartDir(chartPath string) (*chart.Chart, error) {
slog.Debug("loading chart directory", "chartPath", chartPath)
if fi, err := os.Stat(chartPath); err != nil {
return nil, fmt.Errorf("could not find %s: %w", chartPath, err)
} else if !fi.IsDir() {

Loading…
Cancel
Save