From: Remi Gacogne Date: Wed, 22 Jun 2022 09:32:06 +0000 (+0200) Subject: dnsdist: Fix a typo LeastOustandingType -> LeastOutstandingType X-Git-Tag: auth-4.8.0-alpha0~45^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11689%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Fix a typo LeastOustandingType -> LeastOutstandingType --- diff --git a/pdns/dnsdistdist/dnsdist-lbpolicies.cc b/pdns/dnsdistdist/dnsdist-lbpolicies.cc index 855b9900a4..f10365797d 100644 --- a/pdns/dnsdistdist/dnsdist-lbpolicies.cc +++ b/pdns/dnsdistdist/dnsdist-lbpolicies.cc @@ -57,18 +57,18 @@ template static std::shared_ptr getLeastOutstanding(c // get server with least outstanding queries, and within those, with the lowest order, and within those: the fastest shared_ptr leastOutstanding(const ServerPolicy::NumberedServerVector& servers, const DNSQuestion* dq) { - using LeastOustandingType = std::tuple; + using LeastOutstandingType = std::tuple; if (servers.size() == 1 && servers[0].second->isUp()) { return servers[0].second; } if (servers.size() <= s_staticArrayCutOff) { - StaticIndexArray poss; + StaticIndexArray poss; return getLeastOutstanding(servers, poss); } - DynamicIndexArray poss; + DynamicIndexArray poss; poss.resize(servers.size()); return getLeastOutstanding(servers, poss); }