mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 11:44:18 +02:00
streamline table api
This commit is contained in:
@@ -105,7 +105,7 @@ func IlmForecastList(conf *cfg.Config, filter string) error {
|
||||
headers = append(headers, "ilm policy")
|
||||
}
|
||||
|
||||
table := printer.NewTable(conf, len(headers), 0)
|
||||
table := printer.NewTable(conf).WithSize(len(headers), 0)
|
||||
table.Addheaders(headers...)
|
||||
|
||||
for _, phase := range phaseData {
|
||||
|
||||
Reference in New Issue
Block a user