Skip to content

Commit

Permalink
style: format files
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Feb 1, 2024
1 parent 150df53 commit 5ce4c94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions plugins/modules/firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ def _prepare_result_applied_to(self, resource: FirewallResource):
result = {
"type": to_native(resource.type),
"server": to_native(resource.server.id) if resource.server is not None else None,
"label_selector": to_native(resource.label_selector.selector)
if resource.label_selector is not None
else None,
"label_selector": (
to_native(resource.label_selector.selector) if resource.label_selector is not None else None
),
}
if resource.applied_to_resources is not None:
result["applied_to_resources"] = [
Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/firewall_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ def _prepare_result_applied_to(self, resource: FirewallResource):
result = {
"type": to_native(resource.type),
"server": to_native(resource.server.id) if resource.server is not None else None,
"label_selector": to_native(resource.label_selector.selector)
if resource.label_selector is not None
else None,
"label_selector": (
to_native(resource.label_selector.selector) if resource.label_selector is not None else None
),
}
if resource.applied_to_resources is not None:
result["applied_to_resources"] = [
Expand Down

0 comments on commit 5ce4c94

Please sign in to comment.