summaryrefslogtreecommitdiff
path: root/db/restapi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/restapi.cpp')
-rw-r--r--db/restapi.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/db/restapi.cpp b/db/restapi.cpp
index 7460c94..b29521e 100644
--- a/db/restapi.cpp
+++ b/db/restapi.cpp
@@ -18,14 +18,14 @@
*/
#include "pch.h"
-#include "../util/miniwebserver.h"
+#include "../util/net/miniwebserver.h"
#include "../util/mongoutils/html.h"
#include "../util/md5.hpp"
#include "instance.h"
#include "dbwebserver.h"
#include "dbhelpers.h"
#include "repl.h"
-#include "replpair.h"
+#include "replutil.h"
#include "clientcursor.h"
#include "background.h"
@@ -279,14 +279,6 @@ namespace mongo {
else {
ss << "\nmaster: " << replSettings.master << '\n';
ss << "slave: " << replSettings.slave << '\n';
- if ( replPair ) {
- ss << "replpair:\n";
- ss << replPair->getInfo();
- }
- bool seemCaughtUp = getInitialSyncCompleted();
- if ( !seemCaughtUp ) ss << "<b>";
- ss << "initialSyncCompleted: " << seemCaughtUp;
- if ( !seemCaughtUp ) ss << "</b>";
ss << '\n';
}