Skip to content

perf: 获取加密的配置 #1102

perf: 获取加密的配置

perf: 获取加密的配置 #1102

Triggered via pull request December 11, 2024 05:46
Status Failure
Total duration 4m 39s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
lint: pkg/proxy/server.go#L984
printf: non-constant format string in call to github.com/jumpserver/koko/pkg/logger.Infof (govet)
lint: pkg/common/random.go#L11
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
issues found
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636