Fix res => resp

pull/3438/head
Sebastien Plisson 7 years ago
parent 59dce9917f
commit 9d44cfa89d

@ -301,8 +301,8 @@ func (i *installCmd) run() error {
// If this is a dry run, we can't display status.
if i.dryRun {
// This is special casing to avoid breaking backward compatibility:
if res.Release.Info.Description != "Dry run complete" {
fmt.Fprintf(os.Stdout, "WARNING: %s\n", res.Release.Info.Description)
if resp.Release.Info.Description != "Dry run complete" {
fmt.Fprintf(os.Stdout, "WARNING: %s\n", resp.Release.Info.Description)
}
return nil
}

Loading…
Cancel
Save