Skip to content

feat: support endpointslice probe management #5

feat: support endpointslice probe management

feat: support endpointslice probe management #5

Triggered via pull request October 18, 2023 05:03
Status Failure
Total duration 2m 20s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: main.go#L24
Error return value is not checked (errcheck)
lint: main.go#L25
Error return value is not checked (errcheck)
lint: pkg/endpointslice/prober/prober.go#L6
File is not `gci`-ed with --skip-generated -s Standard -s Default -s Prefix(github.com/kosmos.io/eps-probe-plugin) (gci)
lint: pkg/endpointslice/prober/prober.go#L29
Error return value of `pinger.Run` is not checked (errcheck)
lint: pkg/endpointslice/prober/prober_manager.go#L162
func `(*manager).workerCount` is unused (unused)
lint: pkg/endpointslice/prober/worker.go#L6
File is not `gci`-ed with --skip-generated -s Standard -s Default -s Prefix(github.com/kosmos.io/eps-probe-plugin) (gci)
lint: pkg/endpointslice/prober/worker.go#L10
File is not `gci`-ed with --skip-generated -s Standard -s Default -s Prefix(github.com/kosmos.io/eps-probe-plugin) (gci)
lint: pkg/endpointslice/prober/worker.go#L75
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint: pkg/endpointslice/prober/worker.go#L110
Error return value is not checked (errcheck)
lint: pkg/serviceimport/annotation/annotation_manager.go#L57
SA1015: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (staticcheck)
verify
Restore cache failed: Dependencies file is not found in /home/runner/work/eps-probe-plugin/eps-probe-plugin. Supported file pattern: go.sum