fix: remove reportingInstance field in eventKey.

This commit is contained in:
Jianfei Bai 2019-09-23 20:00:16 +08:00
parent dcf94c6d33
commit 6b17e5e2a4

View File

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