From d479f307a47c45bd0340ba55269e1855233ba1d2 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 29 Sep 2020 20:41:32 -0400 Subject: [PATCH] Minor tweak to role output formatting --- internal/cmd/commands/roles/funcs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/cmd/commands/roles/funcs.go b/internal/cmd/commands/roles/funcs.go index 05bd787d3..fab7b010e 100644 --- a/internal/cmd/commands/roles/funcs.go +++ b/internal/cmd/commands/roles/funcs.go @@ -129,11 +129,13 @@ func generateRoleTableOutput(in *roles.Role) string { } if len(in.Grants) > 0 { ret = append(ret, + "", fmt.Sprintf(" Canonical Grants: %s", ""), ) } for _, grant := range in.Grants { ret = append(ret, + "", fmt.Sprintf(" %s", grant.Canonical), )