Skip to content

snapshot iterator + CDC #9

snapshot iterator + CDC

snapshot iterator + CDC #9

Triggered via pull request August 20, 2024 15:17
@maha-hajjamaha-hajja
synchronize #4
maha/source
Status Failure
Total duration 1m 0s
Artifacts

lint.yml

on: pull_request
golangci-lint
49s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: source.go#L24
commentFormatting: put a space between `//` and comment text (gocritic)
golangci-lint: source.go#L73
commentFormatting: put a space between `//` and comment text (gocritic)
golangci-lint: source.go#L137
commentFormatting: put a space between `//` and comment text (gocritic)
golangci-lint: iterators/snapshot.go#L39
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: iterators/snapshot.go#L89
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: source.go#L26
field `streamArn` is unused (unused)
golangci-lint: source.go#L130
func `describeTable` is unused (unused)
golangci-lint: iterators/snapshot.go#L94
type assertion must be checked (forcetypeassert)
golangci-lint: source.go#L71
error returned from external package is unwrapped: sig: func github.com/conduitio-labs/conduit-connector-dynamodb/iterators.NewSnapshotIterator(tableName string, client *github.com/aws/aws-sdk-go-v2/service/dynamodb.Client, p github.com/conduitio/conduit-commons/opencdc.Position) (*github.com/conduitio-labs/conduit-connector-dynamodb/iterators.SnapshotIterator, error) (wrapcheck)
golangci-lint: source.go#L115
error returned from external package is unwrapped: sig: func (*github.com/conduitio-labs/conduit-connector-dynamodb/iterators.SnapshotIterator).Next(ctx context.Context) (github.com/conduitio/conduit-commons/opencdc.Record, error) (wrapcheck)