mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
Update cluster_resources.go - typo
Fix a typo: `exprted` -> `exported`
This commit is contained in:
@@ -1201,7 +1201,7 @@ func events(ctx context.Context, client *kubernetes.Clientset, namespaces []stri
|
||||
return eventsByNamespace, errorsByNamespace
|
||||
}
|
||||
|
||||
// not exprted from: https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/auth/cani.go#L339
|
||||
// not exported from: https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/auth/cani.go#L339
|
||||
func convertToPolicyRule(status authorizationv1.SubjectRulesReviewStatus) []rbacv1.PolicyRule {
|
||||
ret := []rbacv1.PolicyRule{}
|
||||
for _, resource := range status.ResourceRules {
|
||||
|
||||
Reference in New Issue
Block a user