Apply golangci fixes #15
Merged
Annotations
9 errors and 2 warnings
|
|
|
pkg/shared/vault_server.go#L120
SA9003: empty branch (staticcheck)
|
|
pkg/shared/vault_server.go#L118
SA9003: empty branch (staticcheck)
|
|
pkg/container/exec.go#L14
SA1019: "github.com/open-policy-agent/opa/rego" is deprecated: This package is intended for older projects transitioning from OPA v0.x and will remain for the lifetime of OPA v1.x, but its use is not recommended. For newer features and behaviours, such as defaulting to the Rego v1 syntax, use the corresponding components in the [github.com/open-policy-agent/opa/v1] package instead. See https://www.openpolicyagent.org/docs/latest/v0-compatibility/ for more information. (staticcheck)
|
|
pkg/eos_cli/wrap_test.go#L74
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
|
pkg/crypto/fuzz_test.go#L127
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
|
pkg/crypto/fuzz_test.go#L122
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
|
cmd/create/terraform_workflow.go#L226
Error return value of `fmt.Scanln` is not checked (errcheck)
|
|
pkg/stackstorm/emailer.go#L196
Error return value of `f.Seek` is not checked (errcheck)
|
|
|
|
|
The logs for this run have expired and are no longer available.
Loading