Skip to content

⚠️ Migration to the new events API #3820

⚠️ Migration to the new events API

⚠️ Migration to the new events API #3820

Re-run triggered July 24, 2025 12:54
Status Failure
Total duration 1m 51s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

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)