summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaley Chen <waleycz@gmail.com>2016-03-21 16:06:13 -0400
committerRamon Fernandez <ramon@mongodb.com>2016-03-22 17:52:01 -0400
commitcf15cdbc8573f189e9344f6787f63b21c586f9c1 (patch)
tree1401328d587965a7d7c6393884ee6c8ac121a22f
parent122fe542f41936d8555f797ce5275154379164e8 (diff)
downloadmongo-cf15cdbc8573f189e9344f6787f63b21c586f9c1.tar.gz
SERVER-23109 Typo in src/mongo/shell/collection.js
(cherry picked from commit 7b6b491620fb9c5622ddff2a8271a84a0a736810)
-rw-r--r--src/mongo/shell/collection.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/collection.js b/src/mongo/shell/collection.js
index 9fe2029abe6..07f4f968239 100644
--- a/src/mongo/shell/collection.js
+++ b/src/mongo/shell/collection.js
@@ -1028,7 +1028,7 @@ DBCollection.prototype._getIndexesCommand = function(filter) {
return null;
}
- throw _getErrorWithCode(ret, "listIndexes failed: " + tojson(res));
+ throw _getErrorWithCode(res, "listIndexes failed: " + tojson(res));
}
return new DBCommandCursor(this._mongo, res).toArray();