mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 05:04:18 +02:00
streamline table api (#101)
This commit is contained in:
@@ -111,8 +111,8 @@ func CcrRemoteInfo(conf *cfg.Config, index string) error {
|
||||
mode = "leader"
|
||||
}
|
||||
|
||||
table := printer.NewTable(conf, 2, 5)
|
||||
table.Addheaders("ccr remote property", "value")
|
||||
table := printer.NewTable(conf).WithSize(2, 5).
|
||||
WithHeaders("ccr remote property", "value")
|
||||
|
||||
table.Entries = [][]any{
|
||||
{"Remote Cluster", remote},
|
||||
|
||||
Reference in New Issue
Block a user