Skip to content

✨ Add a priority queue #3180

✨ Add a priority queue

✨ Add a priority queue #3180

Triggered via pull request November 17, 2024 16:55
Status Failure
Total duration 2m 31s
Artifacts

golangci-lint.yml

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

Annotations

10 errors
lint: pkg/controllerworkqueue/workqueue.go#L287
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: pkg/internal/metrics/workqueue.go#L103
exported: exported type WorkqueueMetricsProvider should have comment or be unexported (revive)
lint: pkg/internal/metrics/workqueue.go#L105
exported: exported method WorkqueueMetricsProvider.NewDepthMetric should have comment or be unexported (revive)
lint: pkg/internal/metrics/workqueue.go#L109
exported: exported method WorkqueueMetricsProvider.NewAddsMetric should have comment or be unexported (revive)
lint: pkg/internal/metrics/workqueue.go#L113
exported: exported method WorkqueueMetricsProvider.NewLatencyMetric should have comment or be unexported (revive)
lint: pkg/internal/metrics/workqueue.go#L117
exported: exported method WorkqueueMetricsProvider.NewWorkDurationMetric should have comment or be unexported (revive)
lint: pkg/internal/metrics/workqueue.go#L121
exported: exported method WorkqueueMetricsProvider.NewUnfinishedWorkSecondsMetric should have comment or be unexported (revive)
lint: pkg/internal/metrics/workqueue.go#L125
exported: exported method WorkqueueMetricsProvider.NewLongestRunningProcessorSecondsMetric should have comment or be unexported (revive)
lint: pkg/internal/metrics/workqueue.go#L129
exported: exported method WorkqueueMetricsProvider.NewRetriesMetric should have comment or be unexported (revive)
lint: pkg/controllerworkqueue/workqueue.go#L16
exported: exported type AddOpts should have comment or be unexported (revive)