Merge pull request #51754 from huzhengchuan/fix/event_name
Automatic merge from submit-queue (batch tested with PRs 51754, 53261, 53450). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Rename the name of event source in controller-manager **What this PR does / why we need it**: Make the event source more obvious **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #51753 **Special notes for your reviewer**: **Release note**: ``` NONE ```
This commit is contained in:
@@ -243,7 +243,7 @@ func NewNodeController(
|
||||
}
|
||||
|
||||
eventBroadcaster := record.NewBroadcaster()
|
||||
recorder := eventBroadcaster.NewRecorder(scheme.Scheme, v1.EventSource{Component: "controllermanager"})
|
||||
recorder := eventBroadcaster.NewRecorder(scheme.Scheme, v1.EventSource{Component: "node-controller"})
|
||||
eventBroadcaster.StartLogging(glog.Infof)
|
||||
|
||||
glog.V(0).Infof("Sending events to api server.")
|
||||
|
||||
Reference in New Issue
Block a user