mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 20:17:41 +00:00
Merge pull request #124297 from hshiina/evented-timestamp
EventedPLEG: Pass event created timestamp correctly to cache
This commit is contained in:
commit
386a6af12b
@ -267,7 +267,7 @@ func (e *EventedPLEG) processCRIEvents(containerEventsResponseCh chan *runtimeap
|
||||
}
|
||||
shouldSendPLEGEvent = true
|
||||
} else {
|
||||
if e.cache.Set(podID, status, err, time.Unix(event.GetCreatedAt(), 0)) {
|
||||
if e.cache.Set(podID, status, err, time.Unix(0, event.GetCreatedAt())) {
|
||||
shouldSendPLEGEvent = true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user