This commit is contained in:
@@ -709,7 +709,7 @@ def list_rules():
|
|||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
nft_json = mgr.list_rules_json()
|
nft_json = mgr.list_rules_json()
|
||||||
nft_text = mgr.list_rules_text().replace("\r", "").replace("\t", "").replace("\n", " ")
|
nft_text = mgr.list_rules_text()
|
||||||
logger.error("Successfully obtained nft JSON ruleset, but also got textual output: %r", nft_text)
|
logger.error("Successfully obtained nft JSON ruleset, but also got textual output: %r", nft_text)
|
||||||
except NftError as e:
|
except NftError as e:
|
||||||
logger.debug("could not obtain nft JSON ruleset: %s", e)
|
logger.debug("could not obtain nft JSON ruleset: %s", e)
|
||||||
|
|||||||
Reference in New Issue
Block a user