mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 10:04:18 +02:00
streamline table api (#101)
This commit is contained in:
@@ -62,7 +62,7 @@ func IndexCopy(conf *cfg.Config) error {
|
||||
return fmt.Errorf("failed to copy indices: %w", esErrorString(err))
|
||||
}
|
||||
|
||||
table := printer.NewTable(conf, 2, 0).
|
||||
table := printer.NewTable(conf).WithSize(2, 0).
|
||||
WithHeaders("Reindex metrtic", "value")
|
||||
|
||||
table.Entries = [][]any{
|
||||
|
||||
Reference in New Issue
Block a user