Skip to content

deps(dependabot): bump github.com/nats-io/nats.go from 1.36.0 to 1.37.0 #477

deps(dependabot): bump github.com/nats-io/nats.go from 1.36.0 to 1.37.0

deps(dependabot): bump github.com/nats-io/nats.go from 1.36.0 to 1.37.0 #477

Triggered via pull request September 18, 2024 15:46
Status Failure
Total duration 2m 17s
Artifacts

lint-go.yml

on: pull_request
Run golangci-lint
2m 8s
Run golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run golangci-lint: pkg/backend/jetstream/jetstream_internal_unit_test.go#L160
cannot use testCase.jetStreamContext (variable of type *jetStreamContextStub) as "github.com/nats-io/nats.go".JetStreamContext value in struct literal: *jetStreamContextStub does not implement "github.com/nats-io/nats.go".JetStreamContext (missing method CleanupPublisher)
Run golangci-lint: pkg/backend/jetstream/jetstream_internal_unit_test.go#L237
cannot use jsCtxMock (variable of type *mocks.JetStreamContext) as "github.com/nats-io/nats.go".JetStreamContext value in struct literal: *mocks.JetStreamContext does not implement "github.com/nats-io/nats.go".JetStreamContext (missing method CleanupPublisher)
Run golangci-lint: pkg/backend/jetstream/jetstream_internal_unit_test.go#L305
cannot use jsCtxMock (variable of type *mocks.JetStreamContext) as "github.com/nats-io/nats.go".JetStreamContext value in struct literal: *mocks.JetStreamContext does not implement "github.com/nats-io/nats.go".JetStreamContext (missing method CleanupPublisher)
Run golangci-lint: pkg/backend/jetstream/jetstream_internal_unit_test.go#L426
cannot use testCase.jetStreamContext (variable of type *jetStreamContextStub) as "github.com/nats-io/nats.go".JetStreamContext value in struct literal: *jetStreamContextStub does not implement "github.com/nats-io/nats.go".JetStreamContext (missing method CleanupPublisher)
Run golangci-lint: pkg/backend/jetstream/jetstream_internal_unit_test.go#L444
cannot use &jetStreamContextStub{…} (value of type *jetStreamContextStub) as "github.com/nats-io/nats.go".JetStreamContext value in struct literal: *jetStreamContextStub does not implement "github.com/nats-io/nats.go".JetStreamContext (missing method CleanupPublisher)
Run golangci-lint: pkg/backend/jetstream/jetstream_internal_unit_test.go#L538
cannot use testCase.jsCtx (variable of type *jetStreamContextStub) as "github.com/nats-io/nats.go".JetStreamContext value in assignment: *jetStreamContextStub does not implement "github.com/nats-io/nats.go".JetStreamContext (missing method CleanupPublisher)
Run golangci-lint: pkg/backend/jetstream/jetstream_internal_unit_test.go#L623
cannot use testcase.jetStreamContext (variable of type *jetStreamContextStub) as "github.com/nats-io/nats.go".JetStreamContext value in assignment: *jetStreamContextStub does not implement "github.com/nats-io/nats.go".JetStreamContext (missing method CleanupPublisher) (typecheck)
Run golangci-lint: pkg/backend/jetstream/connection_integration_test.go#L9
"github.com/nats-io/nats.go" imported as nats and not used (typecheck)
Run golangci-lint: pkg/backend/jetstream/connection_integration_test.go#L13
could not import github.com/kyma-project/eventing-manager/pkg/backend/jetstream (-: # github.com/kyma-project/eventing-manager/pkg/backend/jetstream [github.com/kyma-project/eventing-manager/pkg/backend/jetstream.test]
Run golangci-lint: pkg/backend/jetstream/jetstream_internal_unit_test.go#L160
cannot use testCase.jetStreamContext (variable of type *jetStreamContextStub) as "github.com/nats-io/nats.go".JetStreamContext value in struct literal: *jetStreamContextStub does not implement "github.com/nats-io/nats.go".JetStreamContext (missing method CleanupPublisher)