Skip to content

refactoring the pool #1154

refactoring the pool

refactoring the pool #1154

Triggered via pull request January 11, 2024 15:43
@l1b0kl1b0k
synchronize #551
l1b0k:feat/pool
Status Failure
Total duration 2m 27s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors
go-test: pkg/aliyun/instance/instance.go#L170
undefined: max
go-test: pkg/aliyun/instance/instance.go#L171
undefined: max
go-test: pkg/aliyun/instance/instance.go#L172
undefined: max
go-test: pkg/aliyun/instance/instance.go#L173
undefined: max
go-test
Process completed with exit code 1.
lint: pkg/eni/local.go#L176
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
lint: pkg/eni/local.go#L824
S1023: redundant `return` statement (gosimple)
lint: daemon/server.go#L172
S1034: assigning the result of this type assertion to a variable (switch req := req.(type)) could eliminate type assertions in switch cases (gosimple)
lint: daemon/server.go#L174
S1034(related information): could eliminate this type assertion (gosimple)
lint: daemon/server.go#L178
S1034(related information): could eliminate this type assertion (gosimple)
lint: daemon/server.go#L182
S1034(related information): could eliminate this type assertion (gosimple)
lint: daemon/daemon.go#L432
S1019: should use make([]*rpc.NetConf, 0) instead (gosimple)
lint: pkg/eni/manager.go#L56
S1039: unnecessary use of fmt.Sprintf (gosimple)
lint: pkg/eni/remote.go#L174
S1039: unnecessary use of fmt.Sprintf (gosimple)
lint: daemon/daemon.go#L172
S1039: unnecessary use of fmt.Sprintf (gosimple)