From 4329ffafa3ef2f9ea40b7ff17a6af8604720de12 Mon Sep 17 00:00:00 2001 From: Rishab Joshi Date: Tue, 17 Nov 2020 13:45:05 +0000 Subject: SERVER-50442 Remove ensureIndex shell function This commit replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell"" --- jstests/core/arrayfind6.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jstests/core/arrayfind6.js') diff --git a/jstests/core/arrayfind6.js b/jstests/core/arrayfind6.js index f01271b6673..bd91859c9dc 100644 --- a/jstests/core/arrayfind6.js +++ b/jstests/core/arrayfind6.js @@ -17,5 +17,5 @@ function checkElemMatchMatches() { } checkElemMatchMatches(); -t.ensureIndex({'a.b': 1}); +t.createIndex({'a.b': 1}); checkElemMatchMatches(); -- cgit v1.2.1