Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
publish updates from the event watch
  • Loading branch information
tommyzli committed Jun 25, 2024
commit a927d5d32c769ba088f94d7310fcb23d39cd7ce1
3 changes: 2 additions & 1 deletion pkg/kube/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ func (e *EventWatcher) OnAdd(obj interface{}) {
}

func (e *EventWatcher) OnUpdate(oldObj, newObj interface{}) {
// Ignore updates
event := newObj.(*corev1.Event)
e.onEvent(event)
}

// Ignore events older than the maxEventAgeSeconds
Expand Down