From ab759197adc532febace42cd39038c68e4c8c9c1 Mon Sep 17 00:00:00 2001 From: Morten Lied Johansen Date: Fri, 2 Dec 2016 11:40:07 +0100 Subject: [PATCH] Increase column width when listing releases After #1560 was merged, names of releases can now be up to 53 characters long, up from 14 previously. When listing releases, the maximum column width is 30 characters, meaning it's not possible to get the full name of releases using the full available length. This change just increases the maximum column width to 60, to allow for longer release names. --- 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 3168c4c08..928fc0ab4 100644 --- a/cmd/helm/list.go +++ b/cmd/helm/list.go @@ -194,7 +194,7 @@ func (l *listCmd) statusCodes() []release.Status_Code { func formatList(rels []*release.Release) string { table := uitable.New() - table.MaxColWidth = 30 + table.MaxColWidth = 60 table.AddRow("NAME", "REVISION", "UPDATED", "STATUS", "CHART") for _, r := range rels { c := fmt.Sprintf("%s-%s", r.Chart.Metadata.Name, r.Chart.Metadata.Version)