diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc index 25a05edfef75..658bcd344efc 100644 --- a/pdns/lua-record.cc +++ b/pdns/lua-record.cc @@ -87,7 +87,7 @@ class IsUpOracle ~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 @@ class IsUpOracle 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 @@ class IsUpOracle } }; -//NOLINT(readability-identifier-length) +//NOLINTNEXTLINE(readability-identifier-length) int IsUpOracle::isUp(const CheckDesc& cd) { if (!d_checkerThreadStarted.test_and_set()) {