summaryrefslogtreecommitdiff
path: root/src/mongo/db/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/client.cpp')
-rw-r--r--src/mongo/db/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/client.cpp b/src/mongo/db/client.cpp
index 713e8da07a4..a3ec1c5c674 100644
--- a/src/mongo/db/client.cpp
+++ b/src/mongo/db/client.cpp
@@ -388,7 +388,7 @@ namespace mongo {
_handshake = b.obj();
if (theReplSet && o.hasField("member")) {
- theReplSet->ghost->associateSlave(_remoteId, o["member"].Int());
+ theReplSet->registerSlave(_remoteId, o["member"].Int());
}
}