From 37253b1ffe806f2c6747c0145503c72030527c8c Mon Sep 17 00:00:00 2001 From: Samuel Attwood Date: Sun, 15 Jan 2023 00:37:39 -0500 Subject: [PATCH] Fixed regex typo Signed-off-by: Samuel Attwood --- pkg/fetcher/fetcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/fetcher/fetcher.go b/pkg/fetcher/fetcher.go index bdc32a4..b6e3c3b 100644 --- a/pkg/fetcher/fetcher.go +++ b/pkg/fetcher/fetcher.go @@ -56,7 +56,7 @@ func fetchUpstreamHelmrepo(upstreamYaml parse.UpstreamYaml) (ChartSourceMetadata indexYaml := repo.NewIndexFile() chartSourceMeta := ChartSourceMetadata{} - if !regexp.MustCompile("^http?://").MatchString(url) { + if !regexp.MustCompile("^https?://").MatchString(url) { return chartSourceMeta, fmt.Errorf("%s (%s) invalid URL: %s", upstreamYaml.Vendor, upstreamYaml.HelmChart, url) }