aboutsummaryrefslogtreecommitdiffstats
path: root/configd/src/apps/sentinel/report-connectivity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'configd/src/apps/sentinel/report-connectivity.cpp')
-rw-r--r--configd/src/apps/sentinel/report-connectivity.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/configd/src/apps/sentinel/report-connectivity.cpp b/configd/src/apps/sentinel/report-connectivity.cpp
index fff9435abdf..a08ea7c45d1 100644
--- a/configd/src/apps/sentinel/report-connectivity.cpp
+++ b/configd/src/apps/sentinel/report-connectivity.cpp
@@ -10,15 +10,15 @@ using cloud::config::ModelConfig;
namespace config::sentinel {
-ConnectivityCheckResult::~ConnectivityCheckResult() = default;
+SinglePing::~SinglePing() = default;
-void ConnectivityCheckResult::returnStatus(bool ok) {
+void SinglePing::returnStatus(bool ok) {
status = ok ? "ok" : "ping failed";
LOG(debug, "peer %s [port %d] -> %s", peerName.c_str(), peerPort, status.c_str());
parent.requestDone();
}
-void ConnectivityCheckResult::startCheck(FRT_Supervisor &orb) {
+void SinglePing::startCheck(FRT_Supervisor &orb) {
check = std::make_unique<PeerCheck>(*this, peerName, peerPort, orb, 2500);
}