Skip to content

Commit

Permalink
add log for event handler registration
Browse files Browse the repository at this point in the history
  • Loading branch information
limhawjia committed Jul 18, 2023
1 parent 14578c1 commit 69f76ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/util/informermanager/informermanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ func (m *informerManager) processFTC(
registrations := m.eventHandlerRegistrations[ftcName]
lastAppliedFTCs := m.lastAppliedFTCsCache[ftcName]

logger.V(2).Info("Registering event handlers for FederatedTypeConfig")

for _, generator := range m.eventHandlerGenerators {
lastApplied := lastAppliedFTCs[generator]
if !generator.Predicate(lastApplied, ftc) {
Expand Down

0 comments on commit 69f76ab

Please sign in to comment.