mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Add client time to events
This commit is contained in:
@@ -108,6 +108,7 @@ func Event(object runtime.Object, fieldPath, status, reason, message string) {
|
||||
Status: status,
|
||||
Reason: reason,
|
||||
Message: message,
|
||||
Timestamp: util.Now(),
|
||||
}
|
||||
|
||||
events.Action(watch.Added, e)
|
||||
|
||||
Reference in New Issue
Block a user