From 163bbe9cbfe6417df85f75f922410ec4367d0bff Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 22 Jun 2022 11:32:06 +0200 Subject: [PATCH] dnsdist: Fix a typo LeastOustandingType -> LeastOutstandingType --- pdns/dnsdistdist/dnsdist-lbpolicies.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.47.2