diff options
Diffstat (limited to 'jstests/libs/override_methods/implicit_whole_cluster_changestreams.js')
-rw-r--r-- | jstests/libs/override_methods/implicit_whole_cluster_changestreams.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/libs/override_methods/implicit_whole_cluster_changestreams.js b/jstests/libs/override_methods/implicit_whole_cluster_changestreams.js index c7ba66763a2..9e13e0d0847 100644 --- a/jstests/libs/override_methods/implicit_whole_cluster_changestreams.js +++ b/jstests/libs/override_methods/implicit_whole_cluster_changestreams.js @@ -24,14 +24,14 @@ ChangeStreamPassthroughHelpers.nsMatchFilter = function(db, collName) { $match: { $or: [ { - "ns.db": db.getName(), - "ns.coll": (isSingleCollectionStream ? collName : {$exists: true}) + "ns.db": db.getName(), + "ns.coll": (isSingleCollectionStream ? collName : {$exists: true}) }, // Add a clause to detect if the collection being watched is the target of a // renameCollection command, since that is expected to return a "rename" entry. { - "to.db": db.getName(), - "to.coll": (isSingleCollectionStream ? collName : {$exists: true}) + "to.db": db.getName(), + "to.coll": (isSingleCollectionStream ? collName : {$exists: true}) }, {operationType: "invalidate"} ] |