From a3208f69c5a6058d451af3356045b20f45a66003 Mon Sep 17 00:00:00 2001 From: Gong Yongjie Date: Mon, 20 Jun 2022 17:31:46 +0800 Subject: [PATCH] use the formatChartname to construct the chart info Signed-off-by: Gong Yongjie --- cmd/helm/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/list.go b/cmd/helm/list.go index 0685661fd..2bf6538fd 100644 --- a/cmd/helm/list.go +++ b/cmd/helm/list.go @@ -159,7 +159,7 @@ func newReleaseListWriter(releases []*release.Release, timeFormat string) *relea Namespace: r.Namespace, Revision: strconv.Itoa(r.Version), 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, ChartVersion: r.Chart.Metadata.Version, AppVersion: r.Chart.Metadata.AppVersion,