]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix an erroneous comment in health check handling (thanks Otto!) 10874/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 25 Oct 2021 07:54:17 +0000 (09:54 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 25 Oct 2021 07:54:17 +0000 (09:54 +0200)
pdns/dnsdistdist/dnsdist-healthchecks.cc

index f704eae3a987ddce394eb34de0658c9134332704..56631b8aaa5f87cb138f731555fe07ca8193470d 100644 (file)
@@ -85,7 +85,7 @@ void updateHealthCheckResult(const std::shared_ptr<DownstreamState>& 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;
       }
     }