mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-31 23:00:26 +00:00
update LastObservedTime instead of eventTime
Signed-off-by: Yassine TIJANI <ytijani@vmware.com> Kubernetes-commit: c6b224b16cff3c69b7a0d5b98b02c89777277971
This commit is contained in:
parent
4645e65539
commit
1a6ae704e2
@ -130,7 +130,7 @@ func (e *eventBroadcasterImpl) recordToSink(event *v1beta1.Event, clock clock.Cl
|
||||
if isIsomorphic {
|
||||
if isomorphicEvent.Series != nil {
|
||||
isomorphicEvent.Series.Count++
|
||||
isomorphicEvent.EventTime = metav1.MicroTime{Time: clock.Now()}
|
||||
isomorphicEvent.Series.LastObservedTime = metav1.MicroTime{Time: clock.Now()}
|
||||
return nil
|
||||
}
|
||||
isomorphicEvent.Series = &v1beta1.EventSeries{
|
||||
|
Loading…
Reference in New Issue
Block a user