Merge pull request #83018 from jfbai/fix-remove-duplicated-field-in-eventKey

fix: remove reportingInstance field in eventKey.
This commit is contained in:
Kubernetes Prow Robot 2019-09-24 04:53:27 -07:00 committed by GitHub
commit 0541d0bb79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,6 @@ type eventKey struct {
action string
reason string
reportingController string
reportingInstance string
regarding corev1.ObjectReference
related corev1.ObjectReference
}
@ -264,7 +263,6 @@ func getKey(event *v1beta1.Event) eventKey {
action: event.Action,
reason: event.Reason,
reportingController: event.ReportingController,
reportingInstance: event.ReportingInstance,
regarding: event.Regarding,
}
if event.Related != nil {