]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Better handling of the different types of metrics 11845/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 10 Aug 2022 14:56:55 +0000 (16:56 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 10 Aug 2022 14:56:55 +0000 (16:56 +0200)
commit46fb5218a43deb4d7b2760f8b4466d9db2477b93
tree988bccce17a94c6a12168f9e6acda1aea127e239
parente4eb59a78d965e92ca883564b56fdd8ae7550bed
dnsdist: Better handling of the different types of metrics

This commit ensures that we don't crash if we forget to update a part of code
if we ever add a new type of metrics, as happened in 9f4fa5ae01efa878d2aa27e4398740d7ed6ef01f.
pdns/dnsdist-carbon.cc
pdns/dnsdist-lua-inspection.cc
pdns/dnsdist-web.cc