Skip to content

Commit

Permalink
skip readability-identifier-length lint
Browse files Browse the repository at this point in the history
  • Loading branch information
n0tlu5 committed Jan 6, 2025
1 parent a34ba38 commit 488f5f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pdns/lua-record.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)

Check warning on line 246 in pdns/lua-record.cc

View workflow job for this annotation

GitHub Actions / Analyze (cpp, auth)

parameter name 'cd' is too short, expected at least 3 characters (readability-identifier-length - Level=Warning)
CheckDesc cd{rem, url, opts};
setStatus(cd, false);
}
Expand All @@ -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()) {
Expand Down

0 comments on commit 488f5f7

Please sign in to comment.