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 }