Update pkg/downloader/chart_downloader.go

Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Suleiman Dibirov <3595194+idsulik@users.noreply.github.com>
pull/13112/head
Suleiman Dibirov 8 months ago committed by GitHub
parent fc628c7148
commit 508e498b22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save