]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Remove `pick` from `dnsdist-lua-bindings-protobuf.cc`
authorEnsar Sarajčić <es.ensar@gmail.com>
Wed, 5 Feb 2025 15:05:05 +0000 (16:05 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Feb 2025 15:05:05 +0000 (16:05 +0100)
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
pdns/dnsdistdist/dnsdist-lua-bindings-protobuf.cc

index b6f6a496577b8c746e2d3c2111f722634fea351a..59ec33c33d302b4133af1b93ea8afc05effbb30f 100644 (file)
@@ -63,7 +63,7 @@ void setupLuaBindingsProtoBuf(LuaContext& luaCtx, bool client, bool configCheck)
 #endif /* HAVE_IPCIPHER */
 
   /* ProtobufMessage */
-  pick luaCtx.registerFunction<void (DNSDistProtoBufMessage::*)(std::string)>("setTag", [](DNSDistProtoBufMessage& message, const std::string& strValue) {
+  luaCtx.registerFunction<void (DNSDistProtoBufMessage::*)(std::string)>("setTag", [](DNSDistProtoBufMessage& message, const std::string& strValue) {
     message.addTag(strValue);
   });
   luaCtx.registerFunction<void (DNSDistProtoBufMessage::*)(LuaArray<std::string>)>("setTagArray", [](DNSDistProtoBufMessage& message, const LuaArray<std::string>& tags) {