Skip to content

[PBM-1179] Warn about unsupported MongoDB version #650

[PBM-1179] Warn about unsupported MongoDB version

[PBM-1179] Warn about unsupported MongoDB version #650

Triggered via pull request September 18, 2023 07:16
@defbindefbin
synchronize #876
PBM-1179
Status Success
Total duration 1m 42s
Artifacts
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 / go-test
runner / shellcheck
10s
runner / shellcheck
runner / misspell
10s
runner / misspell
runner / alex
33s
runner / alex
runner / golangci-lint
1m 31s
runner / golangci-lint
runner / gofmt
23s
runner / gofmt
runner / shfmt
8s
runner / shfmt
Fit to window
Zoom out
Zoom in

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)