use the formatChartname to construct the chart info

Signed-off-by: Gong Yongjie <yong-jie.gong@microfocus.com>
pull/10914/head
Gong Yongjie 3 years ago
parent 2780978f2e
commit a3208f69c5

@ -159,7 +159,7 @@ func newReleaseListWriter(releases []*release.Release, timeFormat string) *relea
Namespace: r.Namespace, Namespace: r.Namespace,
Revision: strconv.Itoa(r.Version), Revision: strconv.Itoa(r.Version),
Status: r.Info.Status.String(), Status: r.Info.Status.String(),
Chart: fmt.Sprintf("%s-%s", r.Chart.Metadata.Name, r.Chart.Metadata.Version), Chart: formatChartname(r.Chart),
ChartName: r.Chart.Metadata.Name, ChartName: r.Chart.Metadata.Name,
ChartVersion: r.Chart.Metadata.Version, ChartVersion: r.Chart.Metadata.Version,
AppVersion: r.Chart.Metadata.AppVersion, AppVersion: r.Chart.Metadata.AppVersion,

Loading…
Cancel
Save