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 Jan 30, 2025
1 parent 3c63b6b commit a045d11
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python-avd/pyavd/_eos_designs/shared_utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def get_merged_port_profile(self: SharedUtilsProtocol, profile_name: str, contex
context: A string representing the adapter under which the profile should be applied.
Used for error message.
"""

if profile_name not in self.inputs.port_profiles:
msg = f"Profile '{profile_name}' applied under '{context}' does not exist in `port_profiles`."
raise AristaAvdInvalidInputsError(msg)
Expand Down

0 comments on commit a045d11

Please sign in to comment.