summaryrefslogtreecommitdiff
path: root/docs/configuration/service/md-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:53 +0000
commit195907a27cb7793c8026ccc1f4149d03fc0b1320 (patch)
tree74aaa90bd2a85f9b6b19b29c1c4b1986e8dd6e9e /docs/configuration/service/md-https.md
parentf26533d4f878c9faaeccbc4d07cb370d8c585297 (diff)
downloadvyos-documentation-195907a27cb7793c8026ccc1f4149d03fc0b1320.tar.gz
vyos-documentation-195907a27cb7793c8026ccc1f4149d03fc0b1320.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/md-https.md')
0 files changed, 0 insertions, 0 deletions