From 433bb9118cf98a3380c259db1e8fd999478c70c7 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 25 Oct 2021 09:54:17 +0200 Subject: [PATCH] dnsdist: Fix an erroneous comment in health check handling (thanks Otto!) --- pdns/dnsdistdist/dnsdist-healthchecks.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/dnsdist-healthchecks.cc b/pdns/dnsdistdist/dnsdist-healthchecks.cc index f704eae3a9..56631b8aaa 100644 --- a/pdns/dnsdistdist/dnsdist-healthchecks.cc +++ b/pdns/dnsdistdist/dnsdist-healthchecks.cc @@ -85,7 +85,7 @@ void updateHealthCheckResult(const std::shared_ptr& dss, bool i dss->currentCheckFailures++; if (dss->currentCheckFailures < dss->maxCheckFailures) { /* we need more than one failure to be marked as down, - and we did not reach the threshold yet, let's stay down */ + and we did not reach the threshold yet, let's stay up */ newState = true; } } -- 2.47.2