summaryrefslogtreecommitdiff
path: root/src/mongo/db/process_health/fault_manager_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/process_health/fault_manager_test.cpp')
-rw-r--r--src/mongo/db/process_health/fault_manager_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/process_health/fault_manager_test.cpp b/src/mongo/db/process_health/fault_manager_test.cpp
index 50cb1de29f8..d216206c505 100644
--- a/src/mongo/db/process_health/fault_manager_test.cpp
+++ b/src/mongo/db/process_health/fault_manager_test.cpp
@@ -49,9 +49,9 @@ TEST(FaultManagerTest, Registration) {
// Tests the default health observer intensity of non-critical
TEST_F(FaultManagerTest, GetHealthObserverIntensity) {
auto config = manager().getConfig();
- ASSERT(config->getHealthObserverIntensity(FaultFacetType::kLdap) ==
+ ASSERT(config.getHealthObserverIntensity(FaultFacetType::kLdap) ==
HealthObserverIntensityEnum::kNonCritical);
- ASSERT(config->getHealthObserverIntensity(FaultFacetType::kDns) ==
+ ASSERT(config.getHealthObserverIntensity(FaultFacetType::kDns) ==
HealthObserverIntensityEnum::kNonCritical);
}