⚠️ Migration to the new events API #3820
Annotations
9 errors
|
lint
issues found
|
|
lint:
pkg/manager/manager.go#L484
setOptionsDefaults - config is unused (unparam)
|
|
lint:
pkg/manager/manager_test.go#L1938
SA1019: m.GetEventRecorderFor is deprecated: this uses the old events API and will be removed in a future release. Please use GetEventRecorder instead. (staticcheck)
|
|
lint:
pkg/manager/manager_test.go#L1865
SA1019: m.GetEventRecorderFor is deprecated: this uses the old events API and will be removed in a future release. Please use GetEventRecorder instead. (staticcheck)
|
|
lint:
pkg/manager/internal.go#L260
SA1019: cm.cluster.GetEventRecorderFor is deprecated: this uses the old events API and will be removed in a future release. Please use GetEventRecorder instead. (staticcheck)
|
|
lint:
pkg/leaderelection/leader_election.go#L131
SA1019: recorderProvider.GetEventRecorderFor is deprecated: this uses the old events API and will be removed in a future release. Please use GetEventRecorder instead. (staticcheck)
|
|
lint:
pkg/internal/recorder/recorder_integration_test.go#L46
SA1019: cm.GetEventRecorderFor is deprecated: this uses the old events API and will be removed in a future release. Please use GetEventRecorder instead. (staticcheck)
|
|
lint:
pkg/cluster/cluster_test.go#L161
SA1019: c.GetEventRecorderFor is deprecated: this uses the old events API and will be removed in a future release. Please use GetEventRecorder instead. (staticcheck)
|
|
lint:
pkg/internal/recorder/recorder.go#L102
Error return value of `p.broadcaster.StartEventWatcher` is not checked (errcheck)
|