From 73e4e0205e9706532d23337a8b6ec7ecc4fbefdb Mon Sep 17 00:00:00 2001 From: Gaspard Micol Date: Wed, 24 Apr 2024 12:24:03 -0400 Subject: [PATCH] [ignore] Fix sanity issues for flow rules modules. --- plugins/modules/nd_interface_flow_rules.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/modules/nd_interface_flow_rules.py b/plugins/modules/nd_interface_flow_rules.py index b54f9ea..b99d66b 100644 --- a/plugins/modules/nd_interface_flow_rules.py +++ b/plugins/modules/nd_interface_flow_rules.py @@ -451,10 +451,9 @@ def main(): nd.existing = [sanitize_dict(flow_rules_config, delete_keys) for flow_rules_config in flow_rules_history] elif flow_rule_type and not flow_rule: nd.existing = [ - sanitize_dict( - flow_rules_config, delete_keys) - for flow_rules_config in flow_rules_history - if flow_rules_config.get("type", "") == flow_rule_type + sanitize_dict(flow_rules_config, delete_keys) + for flow_rules_config in flow_rules_history + if flow_rules_config.get("type", "") == flow_rule_type ] elif state == "absent":