summaryrefslogtreecommitdiff
path: root/docs/configuration/service/https.md
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-14 00:42:34 +0300
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2026-05-14 05:08:35 +0000
commit72578838cb01c80a88fee4c9062dc2172eb9375f (patch)
treecd7b0956442ebb49460033d6d2c95531ddc72c2c /docs/configuration/service/https.md
parent5d445bdefe38fa790e988082fadf2053874538db (diff)
downloadvyos-documentation-72578838cb01c80a88fee4c9062dc2172eb9375f.tar.gz
vyos-documentation-72578838cb01c80a88fee4c9062dc2172eb9375f.zip
ci(doc-linter): delete lint_mac dead code
`lint_mac()` was called and its return value immediately overwritten with `None`: err_mac = lint_mac(cnt, line.strip()) # disable mac detection for the moment, too many false positives err_mac = None The comment is correct — MAC linting produced too many false positives — but the cleanup never landed. The dead call ran on every line for every linted file, and the function/MAC-regex/MAC-error-text all sat in the source as a misleading hint that MAC linting was a live feature. Delete: - the `MAC` regex constant - the `lint_mac()` function - the `err_mac = lint_mac(...)`, `err_mac = None`, and the `err_mac` entry in the tuple iterated by the error-collection loop in `handle_file_action()` Tracked as item 9 of the rolling-side cleanup backlog flagged across the PR #2014 / #2019 / #2020 reviews. When MAC linting is genuinely wanted again, recover the regex/function from git history and wire it in cleanly. 🤖 Generated by [robots](https://vyos.io) (cherry picked from commit ac9f61e5ae366774e51975b0faddd7ba07996762)
Diffstat (limited to 'docs/configuration/service/https.md')
0 files changed, 0 insertions, 0 deletions