summaryrefslogtreecommitdiff
path: root/src/mongo/db/restapi.cpp
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2015-12-01 09:12:11 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2016-01-04 09:41:27 -0500
commit4c1bb9ae80646a808319fb2e9b4415a6f2da33bd (patch)
treeadc4c191f869ca9cfdb6f875356cfcc0f6e3cf86 /src/mongo/db/restapi.cpp
parentfd94dbbd2d7a0619bce2e078729b67e6dfaf6899 (diff)
downloadmongo-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.cpp6
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';
}