diff options
Diffstat (limited to 'configd/src/apps/sentinel/report-connectivity.cpp')
-rw-r--r-- | configd/src/apps/sentinel/report-connectivity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configd/src/apps/sentinel/report-connectivity.cpp b/configd/src/apps/sentinel/report-connectivity.cpp index a98bbdc0eec..4b5d38ed125 100644 --- a/configd/src/apps/sentinel/report-connectivity.cpp +++ b/configd/src/apps/sentinel/report-connectivity.cpp @@ -14,12 +14,12 @@ using namespace std::chrono_literals; namespace config::sentinel { -ReportConnectivity::ReportConnectivity(FRT_RPCRequest *req, FRT_Supervisor &orb, ModelSubscriber &modelSubscriber) +ReportConnectivity::ReportConnectivity(FRT_RPCRequest *req, FRT_Supervisor &orb, ModelOwner &modelOwner) : _parentRequest(req), _orb(orb), _checks() { - auto cfg = modelSubscriber.getModelConfig(); + auto cfg = modelOwner.getModelConfig(); if (cfg.has_value()) { auto map = Connectivity::specsFrom(cfg.value()); LOG(debug, "making connectivity report for %zd peers", map.size()); |