]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
skip readability-identifier-length lint
authorn0tlu5 <darfisultoni@gmail.com>
Mon, 6 Jan 2025 16:55:49 +0000 (23:55 +0700)
committern0tlu5 <darfisultoni@gmail.com>
Mon, 6 Jan 2025 16:55:49 +0000 (23:55 +0700)
pdns/lua-record.cc

index 25a05edfef75e8d5a358d88428c03bf6eb05a7a5..658bcd344efcea04facd13a55746da568cd4c965 100644 (file)
@@ -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()) {