summaryrefslogtreecommitdiff
path: root/s/balance.cpp
diff options
context:
space:
mode:
authorAlberto Lerner <alerner@10gen.com>2010-09-21 09:53:34 -0400
committerAlberto Lerner <alerner@10gen.com>2010-09-21 09:53:34 -0400
commita3986b4040198fab9253791bb45a514f0ee283cc (patch)
tree44b983e76eef4fb6bb83fcd7dc17461fd107d4e7 /s/balance.cpp
parentab48745937e9dc670baf9421ce53663442db5751 (diff)
downloadmongo-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.cpp2
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;