string #10
Annotations
10 errors and 1 warning
lint:
internal/partitions/partition_test.go#L76
SA1019: findOptions.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)
|
lint:
internal/partitions/partition_test.go#L81
SA1019: findOptions.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)
|
lint:
internal/partitions/partition_test.go#L86
SA1019: findOptions.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)
|
lint:
internal/verifier/util.go#L120
ineffectual assignment to err (ineffassign)
|
lint:
internal/verifier/bson_compare.go#L112
SA1019: bsontype.Array is deprecated: Use bson.Type* constants instead. (staticcheck)
|
lint:
internal/verifier/bson_compare.go#L114
SA1019: bsontype.EmbeddedDocument is deprecated: Use bson.Type* constants instead. (staticcheck)
|
lint:
internal/verifier/migration_verifier.go#L214
SA1019: writeconcern.New is deprecated: Use the WriteConcern convenience functions or define a struct literal instead. For example: (staticcheck)
|
lint:
internal/verifier/migration_verifier.go#L722
SA1019: result.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)
|
lint:
internal/verifier/migration_verifier.go#L1212
SA1019: db.WriteConcern().GetW is deprecated: Use the WriteConcern.W field instead. (staticcheck)
|
lint:
internal/verifier/migration_verifier.go#L1217
SA1019: db.ReadConcern().GetLevel is deprecated: Use the ReadConcern.Level field instead. (staticcheck)
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/migration-verifier/migration-verifier. Supported file pattern: go.sum
|