test
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s

This commit is contained in:
2026-02-28 23:31:24 +01:00
parent 9e31902da6
commit 1d5750dc00

View File

@@ -888,13 +888,6 @@ def list_rules():
populate_text_from_ruleset_text(custom, nft_text)
except Exception as e:
logger.debug("list_rules: populate_text_from_ruleset_text failed: %s", e)
# If some chains still look unpopulated, attempt per-chain listing fallback
try:
populate_text_from_chain_text(custom)
except Exception as e:
logger.debug("list_rules: populate_text_from_chain_text failed: %s", e)
return RulesetModel.parse_obj(custom)
except NftError as e:
logger.exception("list_rules failed")