summaryrefslogtreecommitdiff
path: root/src/mongo/transport/service_entry_point_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/transport/service_entry_point_impl.cpp')
-rw-r--r--src/mongo/transport/service_entry_point_impl.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/transport/service_entry_point_impl.cpp b/src/mongo/transport/service_entry_point_impl.cpp
index 75dc8f593dc..c5876f8a4d7 100644
--- a/src/mongo/transport/service_entry_point_impl.cpp
+++ b/src/mongo/transport/service_entry_point_impl.cpp
@@ -270,11 +270,10 @@ void ServiceEntryPointImpl::appendStats(BSONObjBuilder* bob) const {
if (auto sc = getGlobalServiceContext()) {
bob->append("active", static_cast<int>(sc->getActiveClientOperations()));
bob->append("exhaustIsMaster",
- static_cast<int>(IsMasterMetrics::get(sc)->getNumExhaustIsMaster()));
- bob->append("exhaustHello",
- static_cast<int>(IsMasterMetrics::get(sc)->getNumExhaustHello()));
+ static_cast<int>(HelloMetrics::get(sc)->getNumExhaustIsMaster()));
+ bob->append("exhaustHello", static_cast<int>(HelloMetrics::get(sc)->getNumExhaustHello()));
bob->append("awaitingTopologyChanges",
- static_cast<int>(IsMasterMetrics::get(sc)->getNumAwaitingTopologyChanges()));
+ static_cast<int>(HelloMetrics::get(sc)->getNumAwaitingTopologyChanges()));
}
if (_adminInternalPool) {