diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2015-12-01 09:12:11 -0500 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2016-01-04 09:41:27 -0500 |
commit | 4c1bb9ae80646a808319fb2e9b4415a6f2da33bd (patch) | |
tree | adc4c191f869ca9cfdb6f875356cfcc0f6e3cf86 /src/mongo/db/restapi.cpp | |
parent | fd94dbbd2d7a0619bce2e078729b67e6dfaf6899 (diff) | |
download | mongo-4c1bb9ae80646a808319fb2e9b4415a6f2da33bd.tar.gz |
SERVER-14501 moved ReplSettings class implementation from repl_settings.h into repl_settings.cpp
Diffstat (limited to 'src/mongo/db/restapi.cpp')
-rw-r--r-- | src/mongo/db/restapi.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/restapi.cpp b/src/mongo/db/restapi.cpp index 984b4e10fa6..caa8cafa8ec 100644 --- a/src/mongo/db/restapi.cpp +++ b/src/mongo/db/restapi.cpp @@ -289,14 +289,14 @@ public: if (repl::getGlobalReplicationCoordinator()->getReplicationMode() == repl::ReplicationCoordinator::modeReplSet) { ss << a("", "see replSetGetStatus link top of page") << "--replSet </a>" - << replSettings.replSet; + << replSettings.getReplSetString(); } // TODO(dannenberg) replAllDead is bad and should be removed when masterslave is removed if (repl::replAllDead) ss << "\n<b>replication replAllDead=" << repl::replAllDead << "</b>\n"; else { - ss << "\nmaster: " << replSettings.master << '\n'; - ss << "slave: " << replSettings.slave << '\n'; + ss << "\nmaster: " << replSettings.isMaster() << '\n'; + ss << "slave: " << replSettings.isSlave() << '\n'; ss << '\n'; } |