Skip to content

Commit bc65289

Browse files
authored
fix: collect rbac permissions error (#928)
1 parent e2053a0 commit bc65289

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/preflight/collect.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ func Collect(opts CollectOpts, p *troubleshootv1beta2.Preflight) (CollectResult,
172172
allCollectors = append(allCollectors, collectors...)
173173
}
174174

175-
foundForbidden = false
176175
for _, collector := range collectors {
177176
for _, e := range collector.GetRBACErrors() {
178177
foundForbidden = true

0 commit comments

Comments
 (0)