From afed555572a1476dcb7c3bebc2701268cfde1de8 Mon Sep 17 00:00:00 2001 From: Daisuke Maki Date: Tue, 20 Mar 2018 09:44:20 +0900 Subject: [PATCH] Add actionable message in the error See #3697 --- cmd/helm/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/install.go b/cmd/helm/install.go index da1ee52d7..6d8d68c6e 100644 --- a/cmd/helm/install.go +++ b/cmd/helm/install.go @@ -443,7 +443,7 @@ func locateChartPath(repoURL, name, version string, verify bool, keyring, return filename, err } - return filename, fmt.Errorf("failed to download %q", name) + return filename, fmt.Errorf("failed to download %q (hint: running `helm repo update` may help)", name) } func generateName(nameTemplate string) (string, error) {