Skip to content

Commit

Permalink
Minor change in code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laxmikant Chintakindi authored and Laxmikant Chintakindi committed Jul 4, 2024
1 parent c1b43ad commit b206d2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ def ptp(self) -> dict | None:
PTP priority2 is set in the code below, calculated based on the node id:
default_priority2 = self.id % 256
"""
if not self.shared_utils.ptp_enabled and not get(self._hostvars, "ptp_settings.enabled"):
if not self.shared_utils.ptp_enabled:
# Since we have overlapping data model "ptp" between eos_designs and eos_cli_config_gen,
# we need to overwrite the input dict if set but not enabled.
if get(self._hostvars, "ptp") is not None:
Expand Down

0 comments on commit b206d2a

Please sign in to comment.