Skip to content

Commit

Permalink
NO-JIRA: Skip fail for backend-sampler
Browse files Browse the repository at this point in the history
  • Loading branch information
neisw committed Feb 7, 2025
1 parent d30b7e1 commit ac57f19
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ func (l *lateRequestTracking) HandleAuditLogEvent(auditEvent *auditv1.Event, beg
if value_slice[0] == "loopback=true" {
return
}

//userAgent":"openshift-external-backend-sampler-new-openshift-api
if strings.HasPrefix(auditEvent.UserAgent, "openshift-external-backend-sampler") {
return
}

l.auditIDs = append(l.auditIDs, string(auditEvent.AuditID))
}
}

0 comments on commit ac57f19

Please sign in to comment.