Skip to content

Commit d22ad66

Browse files
committed
Log warning if skipping preflights
Signed-off-by: Evans Mungai <[email protected]>
1 parent 144cfe4 commit d22ad66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/preflight/execute.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func Execute(preflightSpec *troubleshootv1beta2.Preflight, ignorePermissionError
145145
}
146146

147147
if isPermissionsError(err) {
148-
logger.Debug("skipping analyze due to RBAC errors")
148+
logger.Warnf("skipping analyze due to RBAC errors")
149149
rbacErrors := []*types.PreflightError{}
150150
for _, collector := range clusterCollectResult.Collectors {
151151
for _, e := range collector.GetRBACErrors() {

0 commit comments

Comments
 (0)