Skip to content

Commit

Permalink
[ignore] Fix sanity issues for flow rules modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmicol authored and lhercot committed May 15, 2024
1 parent 2dd836a commit 73e4e02
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions plugins/modules/nd_interface_flow_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 73e4e02

Please sign in to comment.