mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 11:24:17 +02:00
further table streamlining: work with new table api everywhere
This commit is contained in:
@@ -105,8 +105,8 @@ func IlmForecastList(conf *cfg.Config, filter string) error {
|
||||
headers = append(headers, "ilm policy")
|
||||
}
|
||||
|
||||
table := printer.NewTable(conf).WithSize(len(headers), 0)
|
||||
table.Addheaders(headers...)
|
||||
table := printer.NewTable(conf).WithSize(len(headers), 0).
|
||||
WithHeaders(headers...)
|
||||
|
||||
for _, phase := range phaseData {
|
||||
if filter != "" && !flt.MatchString(phase.index) {
|
||||
|
||||
Reference in New Issue
Block a user