From: n0tlu5 Date: Mon, 6 Jan 2025 16:55:49 +0000 (+0700) Subject: skip readability-identifier-length lint X-Git-Tag: dnsdist-2.0.0-alpha1~178^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=488f5f77aa96ef5186ee7b6d169d9dbd5e2bca91;p=thirdparty%2Fpdns.git skip readability-identifier-length lint --- diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc index 25a05edfef..658bcd344e 100644 --- a/pdns/lua-record.cc +++ b/pdns/lua-record.cc @@ -87,7 +87,7 @@ public: ~IsUpOracle() = default; int isUp(const ComboAddress& remote, const opts_t& opts); int isUp(const ComboAddress& remote, const std::string& url, const opts_t& opts); - //NOLINT(readability-identifier-length) + //NOLINTNEXTLINE(readability-identifier-length) int isUp(const CheckDesc& cd); private: @@ -243,7 +243,7 @@ private: void setDown(const ComboAddress& rem, const std::string& url=std::string(), const opts_t& opts = opts_t()) { - //NOLINT(readability-identifier-length) + //NOLINTNEXTLINE(readability-identifier-length) CheckDesc cd{rem, url, opts}; setStatus(cd, false); } @@ -266,7 +266,7 @@ private: } }; -//NOLINT(readability-identifier-length) +//NOLINTNEXTLINE(readability-identifier-length) int IsUpOracle::isUp(const CheckDesc& cd) { if (!d_checkerThreadStarted.test_and_set()) {