Browse files

Fix printShardingStatus()

  • Loading branch information...
1 parent ea0fbff commit 97aa0c2837877ed21e593b63e231f78bc6f4a932 @RedBeard0531 RedBeard0531 committed Apr 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 shell/servers.js
View
2 shell/servers.js
@@ -309,7 +309,7 @@ printShardingStatus = function( configDB ){
output( "\t\tmy chunks" );
- configDB.chunks.find( { "ns" : new RegExp( "^" + z.name ) } ).sort( { ns : 1 , min : 1 } ).forEach(
+ configDB.chunks.find( { "ns" : new RegExp( "^" + z._id ) } ).sort( { ns : 1 , min : 1 } ).forEach(
function(z){
output( "\t\t\t" + z.ns + " " + tojson( z.min ) + " -->> " + tojson( z.max ) +
" on : " + z.shard + " " + tojson( z.lastmod ) );

0 comments on commit 97aa0c2

Please sign in to comment.