Skip to content

Commit

Permalink
Add a log message when an event is recorded on the compliance API
Browse files Browse the repository at this point in the history
Signed-off-by: mprahl <mprahl@users.noreply.github.com>
  • Loading branch information
mprahl authored and openshift-merge-bot[bot] committed Feb 20, 2024
1 parent b49add9 commit db2fed6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/statussync/policy_status_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,8 @@ func StartComplianceEventsSyncer(
events.Forget(ceUntyped)
events.Done(ceUntyped)

log.Info("Recorded a compliance event with the compliance history API", "eventUID", ce.UID)

if ce.UID != "" {
processedEvents[ce.UID] = true
}
Expand Down

0 comments on commit db2fed6

Please sign in to comment.