diff --git a/packages/mongo/mongo_driver.js b/packages/mongo/mongo_driver.js index 6e3b0814b4..3a98d4642b 100644 --- a/packages/mongo/mongo_driver.js +++ b/packages/mongo/mongo_driver.js @@ -841,7 +841,7 @@ MongoConnection.prototype._createIndex = function (collectionName, index, future.wait(); }; -MongoCollection.prototype._ensureIndex = MongoConnection.prototype._createIndex; +MongoConnection.prototype._ensureIndex = MongoConnection.prototype._createIndex; MongoConnection.prototype._dropIndex = function (collectionName, index) { var self = this;