diff options
author | Asya Kamsky <asya999@gmail.com> | 2014-03-01 15:14:03 -0800 |
---|---|---|
committer | Matt Kangas <matt.kangas@mongodb.com> | 2014-03-03 22:38:34 -0500 |
commit | cce595e3b3777610251a7c181ebba3cd907dac67 (patch) | |
tree | 3f8fd99f699115340644a75e4122e804be8b5e31 | |
parent | e2ee0675ee7f97d2ed92d85ea514ebaef1d498d7 (diff) | |
download | mongo-cce595e3b3777610251a7c181ebba3cd907dac67.tar.gz |
SERVER-12985 fix display index name
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
-rw-r--r-- | src/mongo/shell/collection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/collection.js b/src/mongo/shell/collection.js index b1920e33a6e..be67e1320bf 100644 --- a/src/mongo/shell/collection.js +++ b/src/mongo/shell/collection.js @@ -807,7 +807,7 @@ DBCollection.prototype.getIndexStats = function(params, detailed) { return; } - print("-- index \"" + stats.name + "\" --"); + print("-- index \"" + stats.index + "\" --"); print(" version " + stats.version + " | key pattern " + tojsononeline(stats.keyPattern) + (stats.isIdIndex ? " [id index]" : "") + " | storage namespace \"" + stats.storageNs + "\""); |