string #10
Annotations
10 errors and 1 warning
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)
|
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)
|
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)
|
internal/verifier/util.go#L120
ineffectual assignment to err (ineffassign)
|
internal/verifier/bson_compare.go#L112
SA1019: bsontype.Array is deprecated: Use bson.Type* constants instead. (staticcheck)
|
internal/verifier/bson_compare.go#L114
SA1019: bsontype.EmbeddedDocument is deprecated: Use bson.Type* constants instead. (staticcheck)
|
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)
|
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)
|
internal/verifier/migration_verifier.go#L1212
SA1019: db.WriteConcern().GetW is deprecated: Use the WriteConcern.W field instead. (staticcheck)
|
internal/verifier/migration_verifier.go#L1217
SA1019: db.ReadConcern().GetLevel is deprecated: Use the ReadConcern.Level field instead. (staticcheck)
|
|
The logs for this run have expired and are no longer available.
Loading