summaryrefslogtreecommitdiff
path: root/src/mongo/client/server_ping_monitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/server_ping_monitor.cpp')
-rw-r--r--src/mongo/client/server_ping_monitor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/client/server_ping_monitor.cpp b/src/mongo/client/server_ping_monitor.cpp
index 23353157c41..f4ccc1d97a5 100644
--- a/src/mongo/client/server_ping_monitor.cpp
+++ b/src/mongo/client/server_ping_monitor.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork
#include <iterator>
@@ -43,6 +42,9 @@
#include "mongo/rpc/get_status_from_command_result.h"
#include "mongo/rpc/metadata/egress_metadata_hook_list.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork
+
+
namespace mongo {
MONGO_FAIL_POINT_DEFINE(serverPingMonitorFailWithHostUnreachable);