summaryrefslogtreecommitdiff
path: root/src/mongo/db/process_health/health_observer_registration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/process_health/health_observer_registration.h')
-rw-r--r--src/mongo/db/process_health/health_observer_registration.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/process_health/health_observer_registration.h b/src/mongo/db/process_health/health_observer_registration.h
index b7c72bd2b7a..6606e13f05a 100644
--- a/src/mongo/db/process_health/health_observer_registration.h
+++ b/src/mongo/db/process_health/health_observer_registration.h
@@ -52,15 +52,14 @@ public:
* @param factoryCallback creates observer instance when invoked.
*/
static void registerObserverFactory(
- std::function<std::unique_ptr<HealthObserver>(ClockSource* clockSource,
- TickSource* tickSource)> factoryCallback);
+ std::function<std::unique_ptr<HealthObserver>(ServiceContext* svcCtx)> factoryCallback);
/**
* Invokes all registered factories and returns new instances.
* The ownership of all observers is transferred to the invoker.
*/
static std::vector<std::unique_ptr<HealthObserver>> instantiateAllObservers(
- ClockSource* clockSource, TickSource* tickSource);
+ ServiceContext* svcCtx);
/**
* Test-only method to cleanup the list of registered factories.