Skip to content

Commit

Permalink
Reverting code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Jun 20, 2024
1 parent 8143d58 commit 750c5f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions python-avd/pyavd/j2filters/generate_lacp_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ def generate_lacp_id(esi_short: str) -> str:
str: LACP ID
"""
if isinstance(esi_short, str):
return esi_short.replace(":", ".")
return esi_short.replace(":", ".")
2 changes: 0 additions & 2 deletions python-avd/tests/pyavd/j2filters/test_generate_lacp_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
("0404:0202:0101", "0404.0202.0101"),
("000:000:0303:0202:0101", "000.000.0303.0202.0101"),
("", ""),
(10, None),
(None, None),
]


Expand Down

0 comments on commit 750c5f9

Please sign in to comment.