From 23ef0e36b4d15a8a889b589bc9a0bbfbfd90c9f9 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Wed, 24 Jul 2024 05:54:37 +1000 Subject: [PATCH] chore(connlib): make fields in `TunnelTest` private (#5967) These aren't actually accessed outside the test itself and can be private. --- rust/connlib/tunnel/src/tests/sut.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/connlib/tunnel/src/tests/sut.rs b/rust/connlib/tunnel/src/tests/sut.rs index 53aeb8ece..4d6999430 100644 --- a/rust/connlib/tunnel/src/tests/sut.rs +++ b/rust/connlib/tunnel/src/tests/sut.rs @@ -38,8 +38,8 @@ pub(crate) struct TunnelTest { now: Instant, utc_now: DateTime, - pub(crate) client: Host, - pub(crate) gateways: BTreeMap>, + client: Host, + gateways: BTreeMap>, relays: BTreeMap>, drop_direct_client_traffic: bool,