Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 22, 2023
1 parent a98efbb commit 98da3c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/module_utils/network/asa/rm_templates/ogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _tmplt_services_object(config_data):
if config_data["services_object"].get("source_port"):
if config_data["services_object"]["source_port"].get("range"):
cmd += " source range {start} {end}".format(
**config_data["services_object"]["source_port"]["range"]
**config_data["services_object"]["source_port"]["range"],
)
else:
key = list(config_data["services_object"]["source_port"])[0]
Expand All @@ -104,7 +104,7 @@ def _tmplt_services_object(config_data):
if config_data["services_object"].get("destination_port"):
if config_data["services_object"]["destination_port"].get("range"):
cmd += " destination range {start} {end}".format(
**config_data["services_object"]["destination_port"]["range"]
**config_data["services_object"]["destination_port"]["range"],
)
else:
key = list(config_data["services_object"]["destination_port"])[0]
Expand Down

0 comments on commit 98da3c1

Please sign in to comment.