Skip to content

Commit

Permalink
Update osquery checkup (#1817)
Browse files Browse the repository at this point in the history
  • Loading branch information
directionless authored Aug 1, 2024
1 parent 8cf9854 commit 8980c6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ee/debug/checkups/osq_config_conflicts.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ func (occ *osqConfigConflictCheckup) Run(ctx context.Context, extraFH io.Writer)
}

if dirNotEmpty {
occ.status = Failing
occ.status = Warning
occ.summary = "At least one notable directory is present and non-empty"
} else if dirHasError {
occ.status = Erroring
occ.summary = "At least one notable directory is present and could not be read"
} else if dirExists {
occ.status = Warning
occ.status = Informational
occ.summary = "At least one notable directory is present, but empty"
} else {
occ.status = Passing
Expand Down

0 comments on commit 8980c6c

Please sign in to comment.