mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 14:14:23 +02:00
further table streamlining: work with new table api everywhere
This commit is contained in:
@@ -216,8 +216,8 @@ func RoleDiff(conf *cfg.Config, csvfile, role string) error {
|
||||
|
||||
rows := diffRoles(conf, records, res)
|
||||
|
||||
table := printer.NewTable(conf).WithSize(3, len(rows))
|
||||
table.Addheaders("role", "is deployed", "is defined")
|
||||
table := printer.NewTable(conf).WithSize(3, len(rows)).
|
||||
WithHeaders("role", "is deployed", "is defined")
|
||||
|
||||
for idx, row := range rows {
|
||||
deployed := printer.Colorize(conf, "green", "deployed")
|
||||
|
||||
Reference in New Issue
Block a user