feat: remove string checks and add robust checks for fileType #1740
Annotations
10 errors
golangci-lint:
broker/nats/nats.go#L28
SA1019: nats.EncodedConn is deprecated: Encoded connections are no longer supported. (staticcheck)
|
golangci-lint:
broker/nats/nats.go#L60
SA1019: nats.NewEncodedConn is deprecated: Encoded connections are no longer supported. (staticcheck)
|
golangci-lint:
broker/nats/nats.go#L82
SA1019: n.ec.Close is deprecated: Encoded connections are no longer supported. (staticcheck)
|
golangci-lint:
broker/nats/nats.go#L87
SA1019: n.ec.Publish is deprecated: Encoded connections are no longer supported. (staticcheck)
|
golangci-lint:
broker/nats/nats.go#L96
SA1019: n.ec.BindSendChan is deprecated: Encoded connections are no longer supported. (staticcheck)
|
golangci-lint:
broker/nats/nats.go#L108
SA1019: n.ec.QueueSubscribe is deprecated: Encoded connections are no longer supported. (staticcheck)
|
golangci-lint:
broker/nats/nats.go#L122
SA1019: n.ec.BindRecvQueueChan is deprecated: Encoded connections are no longer supported. (staticcheck)
|
golangci-lint:
models/meshmodel/core/policies/rego_policy_relationship.go#L12
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)
|
golangci-lint:
models/meshmodel/core/policies/rego_policy_relationship.go#L13
SA1019: "github.com/open-policy-agent/opa/storage" 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)
|
golangci-lint:
models/meshmodel/core/policies/rego_policy_relationship.go#L14
SA1019: "github.com/open-policy-agent/opa/storage/inmem" 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)
|
Loading