Skip to content

Commit 3cb0741

Browse files
committed
fixed revoke rounds param not passed to table
1 parent 56f3ea2 commit 3cb0741

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cmd/collators.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ var collatorsTableCmd = &cobra.Command{
2424
compact, _ := cmd.Flags().GetBool("compact")
2525
sortKey, _ := cmd.Flags().GetString("sort-key")
2626
sortDesc, _ := cmd.Flags().GetBool("sort-desc")
27+
revokeRounds, _ := cmd.Flags().GetUint32("revoke-rounds")
2728
options := config.TableOptions{
28-
Compact: compact,
29-
SortKey: sortKey,
30-
SortDesc: sortDesc,
29+
Compact: compact,
30+
SortKey: sortKey,
31+
SortDesc: sortDesc,
32+
RevokeRounds: revokeRounds,
3133
}
3234
data, client := fetchPool(cmd)
3335
display.DumpTable(data, client, options)

0 commit comments

Comments
 (0)