summaryrefslogtreecommitdiff
path: root/src/mongo/db/process_health/health_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/process_health/health_observer.h')
-rw-r--r--src/mongo/db/process_health/health_observer.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mongo/db/process_health/health_observer.h b/src/mongo/db/process_health/health_observer.h
index fd44b035a23..cdfeeb81f08 100644
--- a/src/mongo/db/process_health/health_observer.h
+++ b/src/mongo/db/process_health/health_observer.h
@@ -29,7 +29,6 @@
#pragma once
#include "mongo/db/process_health/fault_facet.h"
-#include "mongo/db/process_health/fault_facets_container.h"
#include "mongo/db/process_health/fault_manager_config.h"
#include "mongo/executor/task_executor.h"
#include "mongo/util/future.h"
@@ -74,12 +73,10 @@ public:
* Triggers health check. The implementation should not block to wait for the completion
* of this check.
*
- * @param factory Interface to get or create the factory of facets container.
+ * @param factory Interface to get or create the factory of faults.
*/
virtual SharedSemiFuture<HealthCheckStatus> periodicCheck(
- FaultFacetsContainerFactory& factory,
- std::shared_ptr<executor::TaskExecutor> taskExecutor,
- CancellationToken token) = 0;
+ std::shared_ptr<executor::TaskExecutor> taskExecutor, CancellationToken token) = 0;
virtual HealthObserverLivenessStats getStats() const = 0;