diff options
Diffstat (limited to 'shell/collection.js')
-rw-r--r-- | shell/collection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/collection.js b/shell/collection.js index cb7035d..1b8e488 100644 --- a/shell/collection.js +++ b/shell/collection.js @@ -703,7 +703,7 @@ DBCollection.prototype.getShardDistribution = function(){ var shardStats = stats.shards[ shard ] - var chunks = config.chunks.find({ _id : sh._collRE( coll ), shard : shard }).toArray() + var chunks = config.chunks.find({ _id : sh._collRE( this ), shard : shard }).toArray() numChunks += chunks.length |