From ab5e2ed512306fa89f47ef089b1594c665b9d386 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 16 Jun 2021 15:12:30 +0200 Subject: Fix: trace output variable interpolation The PATCH_DIR_PATH was interpolated as first argument, which was wrong. Also, it is contained in the `destinations`, so it is not required anyways. Signed-off-by: Matthias Beyer --- src/endpoint/configured.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoint/configured.rs b/src/endpoint/configured.rs index aecb291..16e75ae 100644 --- a/src/endpoint/configured.rs +++ b/src/endpoint/configured.rs @@ -544,7 +544,7 @@ impl<'a> PreparedContainer<'a> { .iter() .map(|patch| async move { let destination = PathBuf::from(crate::consts::PATCH_DIR_PATH).join(patch); - trace!("Copying patch {} to container at {}/{}", crate::consts::PATCH_DIR_PATH, patch.display(), destination.display()); + trace!("Copying patch {} to container at {}", patch.display(), destination.display()); let mut buf = vec![]; tokio::fs::OpenOptions::new() -- cgit v1.2.3