Skip to content

refactoring the pool #1153

refactoring the pool

refactoring the pool #1153

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

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors
lint: pkg/aliyun/instance/instance.go#L170
undefined: max (typecheck)
lint: pkg/aliyun/instance/instance.go#L171
undefined: max (typecheck)
lint: pkg/aliyun/instance/instance.go#L172
undefined: max (typecheck)
lint: pkg/eni/local.go#L691
undefined: min (typecheck)
lint: pkg/eni/local.go#L703
undefined: min (typecheck)
lint: pkg/eni/local.go#L530
undefined: min (typecheck)
lint: pkg/ip/ip_cilium.go#L25
var `upperIPv4` is unused (unused)
lint: pkg/ip/ip_cilium.go#L26
var `upperIPv6` is unused (unused)
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)
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)
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.