mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 15:54:17 +02:00
further table streamlining: work with new table api everywhere
This commit is contained in:
@@ -38,8 +38,8 @@ func ClusterSettingsList(conf *cfg.Config) error {
|
||||
return fmt.Errorf("failed to get cluster settings: %w", esErrorString(err))
|
||||
}
|
||||
|
||||
table := printer.NewTable(conf).WithSize(2, 0)
|
||||
table.Addheaders("setting", "value")
|
||||
table := printer.NewTable(conf).WithSize(2, 0).
|
||||
WithHeaders("setting", "value")
|
||||
|
||||
entries := [][]any{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user