]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Apply Miod's lua -> Lua suggestion 15356/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 25 Mar 2025 09:00:49 +0000 (10:00 +0100)
committerGitHub <noreply@github.com>
Tue, 25 Mar 2025 09:00:49 +0000 (10:00 +0100)
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/dnsdistdist/dnsdist-configuration-yaml.cc

index a707ec419a374296e6d2484f5d3a28a907544925..77a6a5e6a23498fd2a6c605a781c8b70aba27bf5 100644 (file)
@@ -148,7 +148,7 @@ static bool getLuaFunctionFromConfiguration(FuncType& destination, const ::rust:
     if (found) {
       return true;
     }
-    throw std::runtime_error("Unable to locate the Lua function named '" + std::string(functionName) + "', referenced by a lua directive in " + context + " context");
+    throw std::runtime_error("Unable to locate the Lua function named '" + std::string(functionName) + "', referenced by a Lua directive in " + context + " context");
   }
   if (!functionCode.empty()) {
     auto function = dnsdist::lua::getFunctionFromLuaCode<FuncType>(std::string(functionCode), context);