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 2015/06/15 19:29:46 UTC
mesos git commit: Fixed the broken build caused by the recent
subprocess changes.
Repository: mesos
Updated Branches:
refs/heads/master b592510ed -> d597c9314
Fixed the broken build caused by the recent subprocess changes.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d597c931
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d597c931
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d597c931
Branch: refs/heads/master
Commit: d597c931434c811ce0304d12c98a2e3f2aef6b49
Parents: b592510
Author: Jie Yu <yu...@gmail.com>
Authored: Mon Jun 15 10:29:39 2015 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Jun 15 10:29:44 2015 -0700
----------------------------------------------------------------------
src/slave/containerizer/isolators/network/port_mapping.cpp | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/d597c931/src/slave/containerizer/isolators/network/port_mapping.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/isolators/network/port_mapping.cpp b/src/slave/containerizer/isolators/network/port_mapping.cpp
index 432b05c..e55e7b6 100644
--- a/src/slave/containerizer/isolators/network/port_mapping.cpp
+++ b/src/slave/containerizer/isolators/network/port_mapping.cpp
@@ -2585,6 +2585,9 @@ Future<Nothing> PortMappingIsolatorProcess::update(
Try<Subprocess> s = subprocess(
path::join(flags.launcher_dir, "mesos-network-helper"),
argv,
+ Subprocess::PATH("/dev/null"),
+ Subprocess::FD(STDOUT_FILENO),
+ Subprocess::FD(STDERR_FILENO),
update.flags);
if (s.isError()) {