Adding extra debug logs

Signed-off-by: ds-ms <desattir@microsoft.com>

Using debug function instead

Signed-off-by: ds-ms <desattir@microsoft.com>

Removing [INFO] from the message
pull/5942/head
ds-ms 5 years ago
parent 0b474e688f
commit b280fa5a7d

@ -284,6 +284,7 @@ func (i *initCmd) run() error {
} }
fmt.Fprintln(i.out, "\nTiller (the Helm server-side component) has been upgraded to the current version.") fmt.Fprintln(i.out, "\nTiller (the Helm server-side component) has been upgraded to the current version.")
} else { } else {
debug("The error received while trying to init: %s", err)
fmt.Fprintln(i.out, "Warning: Tiller is already installed in the cluster.\n"+ fmt.Fprintln(i.out, "Warning: Tiller is already installed in the cluster.\n"+
"(Use --client-only to suppress this message, or --upgrade to upgrade Tiller to the current version.)") "(Use --client-only to suppress this message, or --upgrade to upgrade Tiller to the current version.)")
} }

Loading…
Cancel
Save