(bugfix/cmd/helm/history): update history table MaxColWidth to match that of

list command
pull/1914/head
Lachlan Evenson 8 years ago
parent 377639c803
commit ff7d3394f6

@ -97,7 +97,7 @@ func (cmd *historyCmd) run() error {
func formatHistory(rls []*release.Release) string { func formatHistory(rls []*release.Release) string {
tbl := uitable.New() tbl := uitable.New()
tbl.MaxColWidth = 30 tbl.MaxColWidth = 60
tbl.AddRow("REVISION", "UPDATED", "STATUS", "CHART", "DESCRIPTION") tbl.AddRow("REVISION", "UPDATED", "STATUS", "CHART", "DESCRIPTION")
for i := len(rls) - 1; i >= 0; i-- { for i := len(rls) - 1; i >= 0; i-- {
r := rls[i] r := rls[i]

Loading…
Cancel
Save