summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-manager/src/tests/helpers.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/test-manager/src/tests/helpers.rs b/test/test-manager/src/tests/helpers.rs
index 24d7e33bab..4c9da00a16 100644
--- a/test/test-manager/src/tests/helpers.rs
+++ b/test/test-manager/src/tests/helpers.rs
@@ -700,8 +700,12 @@ pub async fn constrain_to_relay(
let location = into_constraint(&exit)?;
let relay_constraints = RelayConstraints {
location,
- wireguard_constraints: WireguardConstraints::from(query.wireguard_constraints),
- openvpn_constraints: OpenVpnConstraints::from(query.openvpn_constraints),
+ wireguard_constraints: WireguardConstraints::from(
+ query.wireguard_constraints().clone(),
+ ),
+ openvpn_constraints: OpenVpnConstraints::from(
+ query.openvpn_constraints().clone(),
+ ),
..Default::default()
};
Ok((exit, relay_constraints))