From 78bce1e2ddf2086420a26b4e4cdc1f50d2f4bf24 Mon Sep 17 00:00:00 2001 From: Lucille Hua Date: Fri, 4 Nov 2022 17:02:46 -0700 Subject: [PATCH] fix helm download for runtime chart --- launchpad/helm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launchpad/helm.go b/launchpad/helm.go index 74db13d..ca430bb 100644 --- a/launchpad/helm.go +++ b/launchpad/helm.go @@ -233,7 +233,7 @@ func getChart( cp, err := cpo.LocateChart(chartURL, settings) buildstmp := buildstamp.Get() - if err != nil && strings.Contains(err.Error(), "failed to download") && buildstmp.IsDevBinary() { + if err != nil && strings.Contains(err.Error(), "failed to fetch") && buildstmp.IsDevBinary() { // This can happen in development because referenced version is dirty and // the helm chart has not been released. In this case, we use the latest chart version. cp, err = getLatestChart(cc, settings, cpo)