summaryrefslogtreecommitdiff
path: root/src/mongo/s/d_split.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/d_split.cpp')
-rw-r--r--src/mongo/s/d_split.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/s/d_split.cpp b/src/mongo/s/d_split.cpp
index 01e928a884e..0fc0b6e3458 100644
--- a/src/mongo/s/d_split.cpp
+++ b/src/mongo/s/d_split.cpp
@@ -555,8 +555,7 @@ namespace mongo {
return false;
}
string configdb = cmdObj["configdb"].String();
- shardingState.enable( configdb );
- configServer.init( configdb );
+ ShardingState::initialize(configdb);
}
Shard myShard( from );