refactoring the pool #1153
Annotations
10 errors
Run golangci-lint:
pkg/aliyun/instance/instance.go#L170
undefined: max (typecheck)
|
Run golangci-lint:
pkg/aliyun/instance/instance.go#L171
undefined: max (typecheck)
|
Run golangci-lint:
pkg/aliyun/instance/instance.go#L172
undefined: max (typecheck)
|
Run golangci-lint:
pkg/eni/local.go#L691
undefined: min (typecheck)
|
Run golangci-lint:
pkg/eni/local.go#L703
undefined: min (typecheck)
|
Run golangci-lint:
pkg/eni/local.go#L530
undefined: min (typecheck)
|
Run golangci-lint:
pkg/ip/ip_cilium.go#L25
var `upperIPv4` is unused (unused)
|
Run golangci-lint:
pkg/ip/ip_cilium.go#L26
var `upperIPv6` is unused (unused)
|
Run golangci-lint:
pkg/aliyun/client/types.go#L34
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
|
Run golangci-lint:
pkg/aliyun/client/types.go#L35
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
|
The logs for this run have expired and are no longer available.
Loading