You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jp...@apache.org on 2018/04/23 15:56:05 UTC
mesos git commit: Fixed a regression in isolator ordering.
Repository: mesos
Updated Branches:
refs/heads/master 767960074 -> 7a3c63fe1
Fixed a regression in isolator ordering.
The 'volume/sandbox_path' isolator works on POSIX but was only added
to the Mesos containerizer isolators for Linux.
Review: https://reviews.apache.org/r/66759/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7a3c63fe
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7a3c63fe
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/7a3c63fe
Branch: refs/heads/master
Commit: 7a3c63fe16c7a31f93a6ac37f0d449cf177c1657
Parents: 7679600
Author: Jan Schlicht <ja...@mesosphere.io>
Authored: Mon Apr 23 08:28:10 2018 -0700
Committer: James Peach <jp...@apache.org>
Committed: Mon Apr 23 08:28:10 2018 -0700
----------------------------------------------------------------------
src/slave/containerizer/mesos/containerizer.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/7a3c63fe/src/slave/containerizer/mesos/containerizer.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/containerizer.cpp b/src/slave/containerizer/mesos/containerizer.cpp
index def09f1..01386ac 100644
--- a/src/slave/containerizer/mesos/containerizer.cpp
+++ b/src/slave/containerizer/mesos/containerizer.cpp
@@ -400,9 +400,12 @@ Try<MesosContainerizer*> MesosContainerizer::create(
// Volume isolators.
+#ifndef __WINDOWS__
+ {"volume/sandbox_path", &VolumeSandboxPathIsolatorProcess::create},
+#endif // __WINDOWS__
+
#ifdef __linux__
{"docker/volume", &DockerVolumeIsolatorProcess::create},
- {"volume/sandbox_path", &VolumeSandboxPathIsolatorProcess::create},
{"volume/host_path", &VolumeHostPathIsolatorProcess::create},
{"volume/image",
[&provisioner] (const Flags& flags) -> Try<Isolator*> {