summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/mock
diff options
context:
space:
mode:
authorAnil Kumar <aksaharan@yahoo.com>2014-08-03 11:08:46 -0400
committerBenety Goh <benety@mongodb.com>2014-08-06 19:49:13 -0400
commite5659ef4dde0724a4c4eace6f1ca8d54bb17e04f (patch)
tree2fab32ae6306ca919413fee44b3c482faab018b1 /src/mongo/dbtests/mock
parenteaac0152f37484f7e581be6fc1d838eb6001ddfb (diff)
downloadmongo-e5659ef4dde0724a4c4eace6f1ca8d54bb17e04f.tar.gz
SERVER-14046 Change SHUNNED to correct name - REMOVED
Closes #730 Signed-off-by: Benety Goh <benety@mongodb.com>
Diffstat (limited to 'src/mongo/dbtests/mock')
-rw-r--r--src/mongo/dbtests/mock/mock_replica_set.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/mock/mock_replica_set.cpp b/src/mongo/dbtests/mock/mock_replica_set.cpp
index 27d0d327f9d..d1bc8c1edbe 100644
--- a/src/mongo/dbtests/mock/mock_replica_set.cpp
+++ b/src/mongo/dbtests/mock/mock_replica_set.cpp
@@ -244,7 +244,7 @@ namespace mongo {
int MockReplicaSet::getState(const std::string& hostAndPort) const {
if (_replConfig.count(hostAndPort) < 1) {
- return static_cast<int>(MemberState::RS_SHUNNED);
+ return static_cast<int>(MemberState::RS_REMOVED);
}
else if (hostAndPort == getPrimary()) {
return static_cast<int>(MemberState::RS_PRIMARY);