diff options
Diffstat (limited to 'src/endpoint')
-rw-r--r-- | src/endpoint/configured.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/endpoint/configured.rs b/src/endpoint/configured.rs index 8fdec64..aecb291 100644 --- a/src/endpoint/configured.rs +++ b/src/endpoint/configured.rs @@ -543,8 +543,8 @@ impl<'a> PreparedContainer<'a> { .patches() .iter() .map(|patch| async move { - let destination = PathBuf::from("/patches").join(patch); - trace!("Copying patch {} to container at /patches/{}", patch.display(), destination.display()); + 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()); let mut buf = vec![]; tokio::fs::OpenOptions::new() |