Skip to content
Permalink
Browse files

Use copy_file_into from shiplift fork

  • Loading branch information...
schrieveslaach committed Feb 20, 2019
1 parent 58a7d64 commit 86ec33e04cff88d74682eb3c6da22d90c0c1baac
Showing with 17 additions and 17 deletions.
  1. +15 −15 api/Cargo.lock
  2. +1 −1 api/Cargo.toml
  3. +1 −1 api/src/services/docker/docker_infrastructure.rs

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -30,7 +30,7 @@ url = "1.7"

[dependencies.shiplift]
git = "https://github.com/schrieveslaach/shiplift.git"
rev = "ae8606cb0172c1a3fa87bed0f672e4c454f8ff68"
rev = "7d1067cb71f5a619e78c967084f5e59de38fd0b7"
default-features = false
features = ["unix-socket"]

@@ -316,7 +316,7 @@ impl DockerInfrastructure {
runtime.block_on(
containers
.get(&container_info.id)
.copy_into(Path::new(path), &Vec::from(data.as_bytes())),
.copy_file_into(Path::new(path), &data.as_bytes()),
)?;
}

0 comments on commit 86ec33e

Please sign in to comment.
You can’t perform that action at this time.