fix: downloader loadChartRepositories dynamic return

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
pull/30927/head
Terry Howe 4 months ago
parent 39305fc160
commit 8180ba4550

@ -814,7 +814,7 @@ func versionEquals(v1, v2 string) bool {
// //
// The key is the local name (which is only present in the repositories.yaml). // The key is the local name (which is only present in the repositories.yaml).
func (m *Manager) loadChartRepositories() (map[string]*repo.ChartRepository, error) { func (m *Manager) loadChartRepositories() (map[string]*repo.ChartRepository, error) {
indices := map[string]*repo.ChartRepository{} indices := make(map[string]*repo.ChartRepository)
// Load repositories.yaml file // Load repositories.yaml file
rf, err := loadRepoConfig(m.RepositoryConfig) rf, err := loadRepoConfig(m.RepositoryConfig)

Loading…
Cancel
Save