diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-16 15:12:30 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-08-31 08:32:05 +0200 |
commit | 027c1f23f5221c7463b12086e1a77887d282e398 (patch) | |
tree | a26dfac2aac5405ebceb04d2cda75f655db28009 | |
parent | 5685d83398dc372fe9cb2c15dcdf28975b91723a (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>
(cherry picked from commit ab5e2ed512306fa89f47ef089b1594c665b9d386)
-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() |