fix a SIGSEGV similar to issue 1347

Signed-off-by: Brandon Cole <brandon.cole@datadoghq.com>
This commit is contained in:
Brandon Cole
2021-11-05 09:13:45 -04:00
parent 39fc522ebb
commit fe6f348490

View File

@@ -157,8 +157,8 @@ 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),
AppVersion: r.Chart.Metadata.AppVersion,
Chart: formatChartname(r.Chart),
AppVersion: formatAppVersion(r.Chart),
}
t := "-"