diff --git a/src/rust/Cargo.lock b/src/rust/Cargo.lock index 9dac6da6..fbaf2f8f 100644 --- a/src/rust/Cargo.lock +++ b/src/rust/Cargo.lock @@ -2120,6 +2120,7 @@ dependencies = [ "ip_network", "ip_network_table", "lqos_config", + "lqos_topology_compile", "lqos_utils", "once_cell", "parking_lot", diff --git a/src/rust/lqosd/src/node_manager/local_api/tree_attached_circuits.rs b/src/rust/lqosd/src/node_manager/local_api/tree_attached_circuits.rs index 03129de9..886a75e3 100644 --- a/src/rust/lqosd/src/node_manager/local_api/tree_attached_circuits.rs +++ b/src/rust/lqosd/src/node_manager/local_api/tree_attached_circuits.rs @@ -474,7 +474,7 @@ mod tests { ..ConfigShapedDevices::default() }; - let rows = aggregate_attached_circuit_rows(&matcher, &shaped_devices); + let rows = aggregate_attached_circuit_rows(&matcher, shaped_devices.devices.iter()); assert_eq!(rows.len(), 1); assert_eq!(rows[0].circuit_id, "circuit-1"); assert_eq!(rows[0].circuit_name, "Circuit One");