chore(ci): add golangci-lint #8
Annotations
5 errors
dependency/vault_read.go#L143
`(*VaultReadQuery).readSecret` - `opts` is unused (unparam)
|
child/child.go#L25
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (staticcheck)
|
dependency/vault_common.go#L84
SA1019: clients.Vault().NewRenewer is deprecated: exists only for backwards compatibility. Calls NewLifetimeWatcher, and sets compatibility flags. (staticcheck)
|
dependency/vault_common.go#L307
SA1019: client.RawRequest is deprecated: RawRequest exists for historical compatibility and should not be used directly. Use client.Logical().ReadRaw(...) or higher level methods instead. (staticcheck)
|
|
The logs for this run have expired and are no longer available.
Loading