[Dockerfile] fix main.go path #4
Annotations
10 errors and 1 warning
Checks:
pkg/forked/workqueue/metrics.go#L71
Error return value of `prometheus.Register` is not checked (errcheck)
|
Checks:
pkg/forked/workqueue/metrics.go#L72
Error return value of `prometheus.Register` is not checked (errcheck)
|
Checks:
pkg/forked/workqueue/metrics.go#L73
Error return value of `prometheus.Register` is not checked (errcheck)
|
Checks:
pkg/forked/workqueue/metrics.go#L74
Error return value of `prometheus.Register` is not checked (errcheck)
|
Checks:
pkg/forked/workqueue/metrics.go#L142
Error return value of `prometheus.Register` is not checked (errcheck)
|
Checks:
pkg/forked/workqueue/default_rate_limiter.go#L94
assignOp: replace `r.failures[item] = r.failures[item] + 1` with `r.failures[item]++` (gocritic)
|
Checks:
pkg/forked/workqueue/default_rate_limiter.go#L149
assignOp: replace `r.failures[item] = r.failures[item] + 1` with `r.failures[item]++` (gocritic)
|
Checks:
pkg/forked/workqueue/default_rate_limiter.go#L77
paramTypeCombine: func(baseDelay time.Duration, maxDelay time.Duration) RateLimiter could be replaced with func(baseDelay, maxDelay time.Duration) RateLimiter (gocritic)
|
Checks:
pkg/forked/workqueue/metrics.go#L42
emptyStringTest: replace `len(name) == 0` with `name == ""` (gocritic)
|
Checks:
pkg/forked/workqueue/metrics.go#L130
emptyStringTest: replace `len(name) == 0` with `name == ""` (gocritic)
|
Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|