refactoring the pool #1154
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)
|