Remove DeprecatedSource assignment to avoid validation failure

Kubernetes-commit: e54ad20f057f1ca4e94552b9373f2762a39b3fd2
This commit is contained in:
Chelsey Chen 2020-07-02 12:53:25 -04:00 committed by Kubernetes Publisher
parent 67fdd63515
commit c9818a9a30

View File

@ -84,8 +84,5 @@ func (recorder *recorderImpl) makeEvent(refRegarding *v1.ObjectReference, refRel
Related: refRelated,
Note: message,
Type: eventtype,
// TODO: remove this when we change conversion to convert eventSource
// to reportingController
DeprecatedSource: v1.EventSource{Component: reportingController},
}
}