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 Dec 18, 2024
1 parent 37f7e4c commit e05a8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-avd/pyavd/_eos_designs/eos_designs_facts/uplinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def _get_p2p_uplink(self: EosDesignsFacts, uplink_index: int, uplink_interface:
if self.shared_utils.uplink_switch_interface_speed is not None:
uplink["peer_speed"] = self.shared_utils.uplink_switch_interface_speed

if (uplink_ptp:=self.shared_utils.node_config.uplink_ptp._as_dict()) != {}:
if (uplink_ptp := self.shared_utils.node_config.uplink_ptp._as_dict()) != {}:
uplink["ptp"] = uplink_ptp
uplink.update(self.shared_utils.ptp_profile._as_dict(include_default_values=True))
uplink.pop("profile", None)
Expand Down

0 comments on commit e05a8b9

Please sign in to comment.