Skip to content

Commit a73d732

Browse files
author
OpenShift Bot
authored
Merge pull request #13476 from Miciah/fix-oc-get-rolebindingrestrictions-formatting
Merged by openshift-bot
2 parents bc0a479 + bacfd53 commit a73d732

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/cmd/cli/describe/printer.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,11 @@ func printRoleBindingRestriction(rbr *authorizationapi.RoleBindingRestriction, w
11061106
}
11071107
}
11081108

1109+
if options.WithNamespace {
1110+
if _, err := fmt.Fprintf(w, "%s\t", rbr.Namespace); err != nil {
1111+
return err
1112+
}
1113+
}
11091114
if _, err := fmt.Fprintf(w, "%s", name); err != nil {
11101115
return err
11111116
}

0 commit comments

Comments
 (0)