Fix out not defined problem, replaced by os.Stdout

Signed-off-by: Stanton Xu <xjiefeng@gmail.com>
pull/8262/head
Stanton Xu 5 years ago
parent 01bcae7263
commit 409ea5d568

@ -268,7 +268,7 @@ func (i *installCmd) run() error {
}
if chartRequested.Metadata.Deprecated {
fmt.Fprintln(out, "WARNING: This chart is deprecated")
fmt.Fprintln(os.Stdout, "WARNING: This chart is deprecated")
}

@ -267,7 +267,7 @@ func (u *upgradeCmd) run() error {
}
if ch.Metadata.Deprecated {
fmt.Fprintln(out, "WARNING: This chart is deprecated")
fmt.Fprintln(os.Stdout, "WARNING: This chart is deprecated")
}
resp, err := u.client.UpdateReleaseFromChart(

Loading…
Cancel
Save