]> git.ipfire.org Git - thirdparty/pdns.git/commit
Use a variant of string/unordered map as argument
authorJess Bees <jesse@toomanybees.com>
Tue, 28 Oct 2025 20:19:04 +0000 (16:19 -0400)
committerJess Bees <jesse@toomanybees.com>
Wed, 29 Oct 2025 17:47:42 +0000 (13:47 -0400)
commit07b7e47e2c6832cbc78887b767a26af0820bfd48
treed49b0931e36ac705f8935122be88e26f1876f84f
parentb4eec9b004f26fc1fe2f638c6a480820fa6ad9ad
Use a variant of string/unordered map as argument

Using a Lua table for an argument is more intuitive than having an
optional 2nd argument, and now `initMetric`'s signature is actually
compatible with `getMetric`'s, rather than just being inspired by it.

Signed-off-by: Jess Bees <jesse@toomanybees.com>
pdns/recursordist/lua-recursor4.cc