Skip to content

Commit e54ad20

Browse files
committed
Remove DeprecatedSource assignment to avoid validation failure
1 parent ade2422 commit e54ad20

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

staging/src/k8s.io/client-go/tools/events/event_recorder.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,5 @@ func (recorder *recorderImpl) makeEvent(refRegarding *v1.ObjectReference, refRel
8484
Related: refRelated,
8585
Note: message,
8686
Type: eventtype,
87-
// TODO: remove this when we change conversion to convert eventSource
88-
// to reportingController
89-
DeprecatedSource: v1.EventSource{Component: reportingController},
9087
}
9188
}

0 commit comments

Comments
 (0)