From 508e498b224597b984d410bba2bdf4103513e9b7 Mon Sep 17 00:00:00 2001 From: Suleiman Dibirov <3595194+idsulik@users.noreply.github.com> Date: Sun, 26 Jan 2025 06:25:59 +0200 Subject: [PATCH] Update pkg/downloader/chart_downloader.go Co-authored-by: George Jenkins Signed-off-by: Suleiman Dibirov <3595194+idsulik@users.noreply.github.com> --- pkg/downloader/chart_downloader.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/downloader/chart_downloader.go b/pkg/downloader/chart_downloader.go index 18384c03b..8152d84f2 100644 --- a/pkg/downloader/chart_downloader.go +++ b/pkg/downloader/chart_downloader.go @@ -369,8 +369,7 @@ func pickChartRepositoryConfigByName(name string, cfgs []*repo.Entry) (*repo.Ent // be mindful of this case. // // The same URL can technically exist in multiple repositories. -// This algorithm will return one of them based on concurrent processing, -// without regard to the order specified in the repositories.yaml file. +// All repositories in repositories.yaml are searched concurrently, and the first found returned func (c *ChartDownloader) scanReposForURL(u string, rf *repo.File) (*repo.Entry, error) { var ( g errgroup.Group