diff options
author | Alberto Lerner <alerner@10gen.com> | 2010-09-21 09:53:34 -0400 |
---|---|---|
committer | Alberto Lerner <alerner@10gen.com> | 2010-09-21 09:53:34 -0400 |
commit | a3986b4040198fab9253791bb45a514f0ee283cc (patch) | |
tree | 44b983e76eef4fb6bb83fcd7dc17461fd107d4e7 /s/balance.cpp | |
parent | ab48745937e9dc670baf9421ce53663442db5751 (diff) | |
download | mongo-a3986b4040198fab9253791bb45a514f0ee283cc.tar.gz |
SERVER-1713 move testing code to proper place and adhere to dbtest coding practices
Diffstat (limited to 's/balance.cpp')
-rw-r--r-- | s/balance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/s/balance.cpp b/s/balance.cpp index 090f23a3111..ec0c6078c79 100644 --- a/s/balance.cpp +++ b/s/balance.cpp @@ -183,7 +183,7 @@ namespace mongo { ShardStatus status = s.getStatus(); BSONObj limitsObj = BSON( ShardFields::maxSize( s.getMaxSize() ) << - ShardFields::currSize( status.mapped() ) << + LimitsFields::currSize( status.mapped() ) << ShardFields::draining( s.isDraining()) ); shardLimitsMap[ s.getName() ] = limitsObj; |