mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Merge pull request #78520 from yastij/event-set-source
set deprecatedEventSource to be backward compatible
This commit is contained in:
commit
766737ed86
@ -85,5 +85,8 @@ func (recorder *recorderImpl) makeEvent(refRegarding *v1.ObjectReference, refRel
|
|||||||
Related: refRelated,
|
Related: refRelated,
|
||||||
Note: message,
|
Note: message,
|
||||||
Type: eventtype,
|
Type: eventtype,
|
||||||
|
// TODO: remove this when we change conversion to convert eventSource
|
||||||
|
// to reportingController
|
||||||
|
DeprecatedSource: v1.EventSource{Component: reportingController},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user