You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/02/20 06:52:22 UTC
[2/3] mesos git commit: Used untar from command utils in local docker
store.
Used untar from command utils in local docker store.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/db985e5b
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/db985e5b
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/db985e5b
Branch: refs/heads/master
Commit: db985e5b37338d54453100df6797973bb902142c
Parents: 42a07ff
Author: Jie Yu <yu...@gmail.com>
Authored: Fri Feb 19 11:38:17 2016 -0800
Committer: Jie Yu <yu...@gmail.com>
Committed: Fri Feb 19 21:50:52 2016 -0800
----------------------------------------------------------------------
src/slave/containerizer/mesos/provisioner/docker/local_puller.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/db985e5b/src/slave/containerizer/mesos/provisioner/docker/local_puller.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/provisioner/docker/local_puller.cpp b/src/slave/containerizer/mesos/provisioner/docker/local_puller.cpp
index 3957651..f3e7c04 100644
--- a/src/slave/containerizer/mesos/provisioner/docker/local_puller.cpp
+++ b/src/slave/containerizer/mesos/provisioner/docker/local_puller.cpp
@@ -31,6 +31,7 @@
#include <process/subprocess.hpp>
#include "common/status_utils.hpp"
+#include "common/command_utils.hpp"
#include "slave/containerizer/mesos/provisioner/docker/local_puller.hpp"
#include "slave/containerizer/mesos/provisioner/docker/paths.hpp"
@@ -131,7 +132,7 @@ Future<list<pair<string, string>>> LocalPullerProcess::pull(
VLOG(1) << "Untarring image from '" << tarPath
<< "' to '" << directory << "'";
- return untar(tarPath, directory)
+ return command::untar(Path(tarPath), Path(directory))
.then(defer(self(), &Self::putImage, reference, directory));
}