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.
pull/1626/head
Morten Lied Johansen 9 years ago committed by fimojoha
parent 6eaa2c897d
commit ab759197ad

@ -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)

Loading…
Cancel
Save