func (i *installCmd) printRelease(rel *release.Release) {
	if rel == nil {
		return
	}
	// TODO: Switch to text/template like everything else.
	if flagDebug {
		fmt.Fprintf(i.out, "NAME:   %s\n", rel.Name)
		fmt.Fprintf(i.out, "NAMESPACE:   %s\n", rel.Namespace)
		fmt.Fprintf(i.out, "INFO:   %s %s\n", timeconv.String(rel.Info.LastDeployed), rel.Info.Status)
		fmt.Fprintf(i.out, "CHART:  %s %s\n", rel.Chart.Metadata.Name, rel.Chart.Metadata.Version)
		fmt.Fprintf(i.out, "MANIFEST: %s\n", rel.Manifest)
	} else {
		fmt.Fprintln(i.out, rel.Name)
	}
}
// printRelease prints info about a release if the flagDebug is true.
printRelease prints info about a release if the flagDebug is true.
// printRelease prints info about a release if the flagDebug is true .
func (i *installCmd) printRelease(rel *release.Release) {
	if rel == nil {
		return
	}
	if flagDebug {
		fmt.Fprintf(i.out, "NAME:   %s\n", rel.Name)
		fmt.Fprintf(i.out, "NAMESPACE:   %s\n", rel.Namespace)
		fmt.Fprintf(i.out, "INFO:   %s %s\n", timeconv.String(rel.Info.LastDeployed), rel.Info.Status)
		fmt.Fprintf(i.out, "CHART:  %s %s\n", rel.Chart.Metadata.Name, rel.Chart.Metadata.Version)
		fmt.Fprintf(i.out, "MANIFEST: %s\n", rel.Manifest)
	} else {
		fmt.Fprintln(i.out, rel.Name)
	}
}
func ( i * installCmd ) printRelease ( rel * release . Release ) { if rel == nil { return } if flagDebug { fmt . Fprintf ( i . out , " \n " , rel . Name ) fmt . Fprintf ( i . out , " \n " , rel . Namespace ) fmt . Fprintf ( i . out , " \n " , timeconv . String ( rel . Info . LastDeployed ) , rel . Info . Status ) fmt . Fprintf ( i . out , " \n " , rel . Chart . Metadata . Name , rel . Chart . Metadata . Version ) fmt . Fprintf ( i . out , " \n " , rel . Manifest ) } else { fmt . Fprintln ( i . out , rel . Name ) } }
printRelease prints info about a release if the flagDebug is true.
printRelease prints info about a release if the flagDebug is true .
// TODO: Switch to text/template like everything else.