From fc9cb126e5ec434ad5e9536aa75d86eed845e676 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Wed, 14 Dec 2016 16:13:00 -0700 Subject: [PATCH] fix(helm): suprress info message for 'helm inspect' There was an informational message being printed that is unnecessary, but prevented shell scripting the results of inspect calls. Closes #1574 --- cmd/helm/install.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/helm/install.go b/cmd/helm/install.go index ab6e67e7e..17043bee5 100644 --- a/cmd/helm/install.go +++ b/cmd/helm/install.go @@ -346,7 +346,9 @@ func locateChartPath(name, version string, verify bool, keyring string) (string, if err != nil { return filename, err } - fmt.Printf("Fetched %s to %s\n", name, filename) + if flagDebug { + fmt.Printf("Fetched %s to %s\n", name, filename) + } return lname, nil } else if flagDebug { return filename, err