[PBM-1179] Warn about unsupported MongoDB version #650
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
reviewdog.yml
on: pull_request
runner / go-test
43s
runner / shellcheck
10s
runner / misspell
10s
runner / alex
33s
runner / golangci-lint
1m 31s
runner / gofmt
23s
runner / shfmt
8s
Annotations
10 errors
runner / golangci-lint:
pbm/snapshot/restore.go#L76
SA1019: writeconcern.New is deprecated: Use the WriteConcern convenience functions or define a struct literal instead. For example: (staticcheck)
|
runner / golangci-lint:
pbm/oplog/backup.go#L114
SA1019: primitive.CompareTimestamp is deprecated: Use Timestamp.Compare instead. (staticcheck)
|
runner / golangci-lint:
pbm/oplog/restore.go#L208
SA1019: primitive.CompareTimestamp is deprecated: Use Timestamp.Compare instead. (staticcheck)
|
runner / golangci-lint:
pbm/oplog/restore.go#L213
SA1019: primitive.CompareTimestamp is deprecated: Use Timestamp.Compare instead. (staticcheck)
|
runner / golangci-lint:
pbm/oplog/restore.go#L272
SA1019: oe.Object.Map is deprecated: Converting directly from a D to an M will not be supported in Go Driver 2.0. Instead, users should marshal the D to BSON using bson.Marshal and unmarshal it to M using bson.Unmarshal. (staticcheck)
|
runner / golangci-lint:
pbm/backup/physical.go#L510
SA1019: bsontype.Binary is deprecated: Use bson.Type* constants instead. (staticcheck)
|
runner / golangci-lint:
pbm/backup/physical.go#L515
SA1019: bsontype.Binary is deprecated: Use bson.Type* constants instead. (staticcheck)
|
runner / golangci-lint:
e2e-tests/pkg/pbm/clock_skew.go#L18
SA1019: docker.NewClient is deprecated: use [NewClientWithOpts] passing the [WithHost], [WithVersion], [WithHTTPClient] and [WithHTTPHeaders] options. We recommend enabling API version negotiation by passing the [WithAPIVersionNegotiation] option instead of WithVersion. (staticcheck)
|
runner / golangci-lint:
e2e-tests/pkg/pbm/docker.go#L24
SA1019: docker.NewClient is deprecated: use [NewClientWithOpts] passing the [WithHost], [WithVersion], [WithHTTPClient] and [WithHTTPHeaders] options. We recommend enabling API version negotiation by passing the [WithAPIVersionNegotiation] option instead of WithVersion. (staticcheck)
|
runner / golangci-lint:
e2e-tests/pkg/pbm/mongod.go#L39
SA1019: mongo.NewClient is deprecated: Use [Connect] instead. (staticcheck)
|