Skip to content

Commit a8c7633

Browse files
author
Ramkumar K R
committed
Fixes #17
- Remove printing of Default Tube stats whether Getstats returns data for it or not - Remove the special condition to continue for default tube
1 parent e250cd8 commit a8c7633

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: cli/stats.go

-6
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,7 @@ func (c *StatsCommand) PrintStats() error {
5151
"Name", "Buried", "Delayed", "Ready", "Reserved", "Urgent", "Waiting", "Total",
5252
})
5353

54-
table.AddRow(c.buildLineFromTubeStats(DefaultTube, stats[DefaultTube]))
55-
5654
for _, t := range sortedKeys(stats) {
57-
if t == DefaultTube {
58-
continue
59-
}
60-
6155
table.AddRow(c.buildLineFromTubeStats(t, stats[t]))
6256
}
6357

0 commit comments

Comments
 (0)