Skip to content

Commit

Permalink
Fix extra lines in output (issue #156)
Browse files Browse the repository at this point in the history
Signed-off-by: Dliv3 <dddliv3@gmail.com>
  • Loading branch information
Dliv3 committed Jan 15, 2022
1 parent ac715a7 commit 3525f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/client/result/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type ResourceAccess map[string]map[string]Access

// Print implements MatrixPrinter.Print. It prints a tab-separated table with a header.
func (ra ResourceAccess) Table(verbs []string) *printer.Table {
names := make([]string, len(ra))
var names []string
for name := range ra {
names = append(names, name)
}
Expand Down

0 comments on commit 3525f56

Please sign in to comment.