From 1535ad56716d21a8b5fc93354a9ac91ba9d696ab Mon Sep 17 00:00:00 2001 From: Cyril Jouve Date: Thu, 27 Oct 2022 20:44:24 +0200 Subject: [PATCH] redirect registry client output to stderr Signed-off-by: Cyril Jouve --- cmd/helm/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/root.go b/cmd/helm/root.go index ef92fea92..7da57c6aa 100644 --- a/cmd/helm/root.go +++ b/cmd/helm/root.go @@ -155,7 +155,7 @@ func newRootCmd(actionConfig *action.Configuration, out io.Writer, args []string registryClient, err := registry.NewClient( registry.ClientOptDebug(settings.Debug), registry.ClientOptEnableCache(true), - registry.ClientOptWriter(out), + registry.ClientOptWriter(os.Stderr), registry.ClientOptCredentialsFile(settings.RegistryConfig), ) if err != nil {