summaryrefslogtreecommitdiff
path: root/jstests/hooks/dummy_cluster_to_cluster_replicator.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/hooks/dummy_cluster_to_cluster_replicator.js')
-rw-r--r--jstests/hooks/dummy_cluster_to_cluster_replicator.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/jstests/hooks/dummy_cluster_to_cluster_replicator.js b/jstests/hooks/dummy_cluster_to_cluster_replicator.js
index 36f66517dcf..cc4d885b1ce 100644
--- a/jstests/hooks/dummy_cluster_to_cluster_replicator.js
+++ b/jstests/hooks/dummy_cluster_to_cluster_replicator.js
@@ -31,7 +31,6 @@ function copyCollection(c0Conn, c1Conn, c0Topology, c1Topology, dbName, collInfo
if (Object.keys(index.key).length !== 1 || !index.key._id) {
jsTestLog("Creating index for: " + c0Coll + "with key: " + tojson(index.key));
let options = Object.assign({}, index);
- delete options.v;
delete options.key;
assert.commandWorked(c1Coll.createIndex(index.key, options));
}