diff --git a/ansible_collections/arista/avd/requirements-dev.txt b/ansible_collections/arista/avd/requirements-dev.txt index e0447465de2..0e35f70fe4c 100644 --- a/ansible_collections/arista/avd/requirements-dev.txt +++ b/ansible_collections/arista/avd/requirements-dev.txt @@ -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 diff --git a/python-avd/pyavd/_cv/workflows/deploy_cv_pathfinder_metadata_to_cv.py b/python-avd/pyavd/_cv/workflows/deploy_cv_pathfinder_metadata_to_cv.py index c665506e22d..ec0b3eedb28 100644 --- a/python-avd/pyavd/_cv/workflows/deploy_cv_pathfinder_metadata_to_cv.py +++ b/python-avd/pyavd/_cv/workflows/deploy_cv_pathfinder_metadata_to_cv.py @@ -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", ""):