From 1d9164e4625c43e7903a518c8fa387bf311660cb Mon Sep 17 00:00:00 2001 From: Jean-Pierre Smith Date: Thu, 1 Feb 2024 11:49:58 +0100 Subject: [PATCH] refactor: reduce extra-long lines (#136) --- crates/scion/src/pan/path_strategy/async_strategy.rs | 6 ++++-- multipass/test_setup.sh | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/crates/scion/src/pan/path_strategy/async_strategy.rs b/crates/scion/src/pan/path_strategy/async_strategy.rs index 9086873..0ac50ac 100644 --- a/crates/scion/src/pan/path_strategy/async_strategy.rs +++ b/crates/scion/src/pan/path_strategy/async_strategy.rs @@ -216,7 +216,8 @@ where }; tracing::debug!( - callback_time=?callback_time.duration_since(start), "waiting for paths or callback timeout" + callback_time=?callback_time.duration_since(start), + "waiting for paths or callback timeout" ); // Wait for the callback duration, or until a pending path query completes. If there @@ -407,7 +408,8 @@ mod tests { ) -> Result, PathFetchError>; fn poll_requests(&mut self, now: Instant) -> Request; fn handle_lookup_paths(&mut self, paths: &[Path], now: Instant); - fn is_path_available(&self, destination: IsdAsn, now: Instant) -> Result; + fn is_path_available(&self, destination: IsdAsn, now: Instant) + -> Result; } } diff --git a/multipass/test_setup.sh b/multipass/test_setup.sh index bb69d72..480fe70 100644 --- a/multipass/test_setup.sh +++ b/multipass/test_setup.sh @@ -11,4 +11,5 @@ export SCION_DISPATCHER_PATH=/tmp/dispatcher.sock export SCION_DAEMON_ADDRESS="[$VM_ADDRESS]:30255" rm -f $SCION_DISPATCHER_PATH -ssh -i multipass/test_id_ed25519 ubuntu@$VM_ADDRESS -fN -L $SCION_DISPATCHER_PATH:/run/shm/dispatcher/default.sock +ssh -i multipass/test_id_ed25519 ubuntu@$VM_ADDRESS -fN -L \ + $SCION_DISPATCHER_PATH:/run/shm/dispatcher/default.sock