Skip to content

Commit a48050a

Browse files
committed
fix aggregation
1 parent 080a087 commit a48050a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/verifier/migration_verifier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,8 +891,8 @@ func (verifier *Verifier) doIndexSpecsMatch(ctx context.Context, srcSpec bson.Ra
891891
ctx,
892892
mongo.Pipeline{
893893
{
894+
{"$match", bson.D{{"_id", insert.InsertedID}}},
894895
{"$match", bson.D{
895-
{"_id", insert.InsertedID},
896896
{"$expr", bson.D{
897897
{"$eq", bson.A{
898898
"$spec",

0 commit comments

Comments
 (0)