diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-16 15:12:30 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-16 15:12:33 +0200 |
commit | ab5e2ed512306fa89f47ef089b1594c665b9d386 (patch) | |
tree | fb992e5ce1604a42627966f2625ba786795c2c83 | |
parent | 97356294acbe01a8b17486dff42ecc76726edf0a (diff) |
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 <matthias.beyer@atos.net>
-rw-r--r-- | src/endpoint/configured.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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() |