Skip to content

Commit

Permalink
gructl report: simplify report generation
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Feb 16, 2016
1 parent 5180184 commit 0dfba5c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions gructl/command/report_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ func execReportCommand(c *cli.Context) {
if err != nil {
displayError(err, 1)
}
if _, ok := report[classifier.Value]; ok {
report[classifier.Value] += 1
} else {
report[classifier.Value] = 1
}
report[classifier.Value] += 1
}

table := uitable.New()
Expand Down

0 comments on commit 0dfba5c

Please sign in to comment.