Merge pull request #78520 from yastij/event-set-source

set deprecatedEventSource to be backward compatible
This commit is contained in:
Kubernetes Prow Robot 2019-06-01 08:00:44 -07:00 committed by GitHub
commit 766737ed86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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},
} }
} }