Skip to content

Commit

Permalink
Merge branch 'devel' into samplePRBranch
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuloc authored Jan 6, 2025
2 parents 41a8d93 + 79000ab commit 228bd56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible_collections/arista/avd/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pylint>=3.2.6
pre-commit>=3.2.0
pre-commit-hooks>=3.3.0
referencing>=0.35.0
ruff==0.8.5
ruff==0.8.6
tox
treelib>=1.5.5
twine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def update_general_metadata(metadata: dict, studio_inputs: dict, studio_schema:
constraints: dict = avt.setdefault("constraints", {})
constraints.setdefault("latency", 4294967295)
constraints.setdefault("jitter", 4294967295)
constraints.setdefault("lossrate", 99.0)
constraints["lossrate"] = float(constraints.get("lossrate", 99.0))
if is_avt_hop_count_supported(studio_schema):
constraints["hopCount"] = constraints.pop("hop_count", "")
elif constraints.pop("hop_count", ""):
Expand Down

0 comments on commit 228bd56

Please sign in to comment.