Skip to content

Commit

Permalink
fix: show infra grants in list (#1515) (#1533)
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceMacD authored Apr 8, 2022
1 parent b30c8ac commit 62147b2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/cmd/grants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package cmd
import (
"errors"
"fmt"
"strings"

"github.com/spf13/cobra"

Expand Down Expand Up @@ -66,10 +65,6 @@ func newGrantsListCmd() *cobra.Command {

var rows []row
for _, g := range grants {
if strings.HasPrefix(g.Resource, "infra") {
continue
}

identity, err := subjectNameFromGrant(client, g)
if err != nil {
return err
Expand Down

0 comments on commit 62147b2

Please sign in to comment.