summaryrefslogtreecommitdiff
path: root/jstests/auth
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2019-05-22 19:01:12 -0400
committerCharlie Swanson <charlie.swanson@mongodb.com>2019-05-23 14:54:28 -0400
commit54b691fb0382495fd93e24c9195b4df1cf2e1ae8 (patch)
tree13b1cbd32c3700b99ef7d76e94603855bbba66c0 /jstests/auth
parent9b8814b6e7130652eca6f8fdaa9ff215b07d2ebb (diff)
downloadmongo-54b691fb0382495fd93e24c9195b4df1cf2e1ae8.tar.gz
SERVER-41275 rename $merge option replaceWithNew to replace
Diffstat (limited to 'jstests/auth')
-rw-r--r--jstests/auth/lib/commands_lib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js
index b6c76af4a9d..ef30f5e70e8 100644
--- a/jstests/auth/lib/commands_lib.js
+++ b/jstests/auth/lib/commands_lib.js
@@ -1235,7 +1235,7 @@ var authCommandsLib = {
pipeline: [{
$merge: {
into: {db: args.targetDB, coll: "foo_out"},
- whenMatched: "replaceWithNew",
+ whenMatched: "replace",
whenNotMatched: "insert"
}
}],