Skip to content

feat: Update go version #1162

feat: Update go version

feat: Update go version #1162

Triggered via pull request December 19, 2024 14:07
Status Failure
Total duration 1m 6s
Artifacts
lintvetanalysis
58s
lintvetanalysis
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
lintvetanalysis: internal/controller/discoverymgr/mnedc/server/server.go#L390
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. (SA1019)
lintvetanalysis: internal/controller/securemgr/authenticator/authenticator.go#L84
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. (SA1019)
lintvetanalysis
Process completed with exit code 1.
lintvetanalysis: internal/controller/securemgr/securemgr.go#L37
type name will be used as securemgr.SecuremgrImpl by other packages, and that stutters; consider calling this Impl
lintvetanalysis
Restore cache failed: Dependencies file is not found in /home/runner/work/edge-home-orchestration-go/edge-home-orchestration-go. Supported file pattern: go.sum