Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Feb 23, 2024
1 parent d0e123c commit 0a71f8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _augmented_cv_pathfinder_policies(self) -> list:
}
)
# Eurk
avt_policy['name'] = avt_policy['original_name']
avt_policy["name"] = avt_policy["original_name"]

for application_virtual_topology in get(avt_policy, "application_virtual_topologies", []):
application_profile = get(application_virtual_topology, "application_profile", required=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _autovpn_policies(self) -> list:
)
rule_id_offset = 1
# Eurk
policy['name'] = policy['original_name']
policy["name"] = policy["original_name"]

for rule_id, application_virtual_topology in enumerate(get(policy, "application_virtual_topologies", []), start=1):
name = get(application_virtual_topology, "name", default=f"{policy['name']}-{application_virtual_topology['application_profile']}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ansible_collections.arista.avd.plugins.filter.natural_sort import natural_sort
from ansible_collections.arista.avd.plugins.filter.range_expand import range_expand
from ansible_collections.arista.avd.plugins.plugin_utils.errors import AristaAvdError, AristaAvdMissingVariableError
from ansible_collections.arista.avd.plugins.plugin_utils.utils import append_if_not_duplicate, default, get, unique, get_item
from ansible_collections.arista.avd.plugins.plugin_utils.utils import append_if_not_duplicate, default, get, get_item, unique

from .utils import UtilsMixin

Expand Down

0 comments on commit 0a71f8f

Please sign in to comment.