mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-08-27 00:37:20 +00:00
fix: collect rbac permissions error (#928)
This commit is contained in:
@@ -172,7 +172,6 @@ func Collect(opts CollectOpts, p *troubleshootv1beta2.Preflight) (CollectResult,
|
||||
allCollectors = append(allCollectors, collectors...)
|
||||
}
|
||||
|
||||
foundForbidden = false
|
||||
for _, collector := range collectors {
|
||||
for _, e := range collector.GetRBACErrors() {
|
||||
foundForbidden = true
|
||||
|
||||
Reference in New Issue
Block a user