summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shardingtest.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/shardingtest.js')
-rw-r--r--src/mongo/shell/shardingtest.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/shardingtest.js b/src/mongo/shell/shardingtest.js
index cc1d85479b5..a24949f58c3 100644
--- a/src/mongo/shell/shardingtest.js
+++ b/src/mongo/shell/shardingtest.js
@@ -795,7 +795,7 @@ printShardingStatus = function( configDB , verbose ){
configDB.collections.find( { _id : new RegExp( "^" +
RegExp.escape(db._id) + "\\." ) } ).
sort( { _id : 1 } ).forEach( function( coll ){
- if ( coll.dropped == false ){
+ if ( ! coll.dropped ){
output( "\t\t" + coll._id );
output( "\t\t\tshard key: " + tojson(coll.key) );
output( "\t\t\tchunks:" );