From 6515ea84e2c20e844fd015ca8a973953c87285bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Schr=C3=B6der?= Date: Wed, 18 Aug 2021 14:54:07 +0200 Subject: [PATCH] [fix concern] use io.ReadAll instead of ioutil.ReadAll MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Schröder --- cmd/helm/repo_add.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/repo_add.go b/cmd/helm/repo_add.go index 707e13fe5..8844174be 100644 --- a/cmd/helm/repo_add.go +++ b/cmd/helm/repo_add.go @@ -146,7 +146,7 @@ func (o *repoAddOptions) run(out io.Writer) error { if o.username != "" && o.password == "" { if o.passwordFromStdinOpt { - passwordFromStdin, err := ioutil.ReadAll(os.Stdin) + passwordFromStdin, err := io.ReadAll(os.Stdin) if err != nil { return err }