From 2e4cdf7a67be6a17f0c7c68bbd6781a16cdd604c Mon Sep 17 00:00:00 2001 From: Komal Thareja Date: Wed, 30 Oct 2024 13:14:41 -0400 Subject: [PATCH] NetworkNodeInventory.get_delgations to be changed to FimHelper.get_delgations --- fabric_cf/actor/core/policy/broker_simpler_units_policy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fabric_cf/actor/core/policy/broker_simpler_units_policy.py b/fabric_cf/actor/core/policy/broker_simpler_units_policy.py index e274ee90..272b10d1 100644 --- a/fabric_cf/actor/core/policy/broker_simpler_units_policy.py +++ b/fabric_cf/actor/core/policy/broker_simpler_units_policy.py @@ -1743,8 +1743,8 @@ def get_node_capacities(self, node_id: str, node_id_to_reservations: dict, start=term.get_start_time(), end=term.get_end_time()) - delegation_id, delegated_capacity = NetworkNodeInventory.get_delegations( - lab_cap_delegations=graph_node.get_capacity_delegations()) + delegation_id, delegated_capacity = FimHelper.get_delegations( + delegations=graph_node.get_capacity_delegations()) allocated_capacity = Capacities()