summaryrefslogtreecommitdiff
path: root/jstests/core/geo_update2.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/geo_update2.js')
-rw-r--r--jstests/core/geo_update2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo_update2.js b/jstests/core/geo_update2.js
index f1b94925cb7..d67b3a9bcc1 100644
--- a/jstests/core/geo_update2.js
+++ b/jstests/core/geo_update2.js
@@ -11,7 +11,7 @@ for (var x = 0; x < 10; x++) {
}
}
-t.ensureIndex({loc: "2d"});
+t.createIndex({loc: "2d"});
function p() {
print("--------------");