Skip to content

Commit db2fed6

Browse files
mprahlopenshift-merge-bot[bot]
authored andcommitted
Add a log message when an event is recorded on the compliance API
Signed-off-by: mprahl <[email protected]>
1 parent b49add9 commit db2fed6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

controllers/statussync/policy_status_sync.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,8 @@ func StartComplianceEventsSyncer(
737737
events.Forget(ceUntyped)
738738
events.Done(ceUntyped)
739739

740+
log.Info("Recorded a compliance event with the compliance history API", "eventUID", ce.UID)
741+
740742
if ce.UID != "" {
741743
processedEvents[ce.UID] = true
742744
}

0 commit comments

Comments
 (0)