fix(upgrade): call printRelease during `helm upgrade --install --debug`

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
pull/6200/head
Matthew Fisher 6 years ago
parent 811e6554b2
commit 79fe9903f0
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -100,7 +100,10 @@ func newUpgradeCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
instClient.Namespace = client.Namespace
instClient.Atomic = client.Atomic
_, err := runInstall(args, instClient, valueOpts, out)
resp, err := runInstall(args, instClient, valueOpts, out)
if settings.Debug {
action.PrintRelease(out, resp)
}
return err
}
}

Loading…
Cancel
Save