You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by qi...@apache.org on 2018/11/09 04:18:34 UTC

[mesos] branch 1.7.x updated: Updated `launchHelper` to use launcher's `whitelistFds` parameter.

This is an automated email from the ASF dual-hosted git repository.

qianzhang pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/1.7.x by this push:
     new 1cdb750  Updated `launchHelper` to use launcher's `whitelistFds` parameter.
1cdb750 is described below

commit 1cdb75052ef039a9217c8cd4085a4b078ebef2a2
Author: Qian Zhang <zh...@gmail.com>
AuthorDate: Thu Nov 8 22:33:40 2018 +0800

    Updated `launchHelper` to use launcher's `whitelistFds` parameter.
---
 src/tests/containerizer/port_mapping_tests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/containerizer/port_mapping_tests.cpp b/src/tests/containerizer/port_mapping_tests.cpp
index 8bdf3a2..9c297b8 100644
--- a/src/tests/containerizer/port_mapping_tests.cpp
+++ b/src/tests/containerizer/port_mapping_tests.cpp
@@ -357,7 +357,7 @@ protected:
         None(),
         None(),
         CLONE_NEWNET | CLONE_NEWNS,
-        vector<int_fd>());
+        {pipes[0], pipes[1]});
 
     return pid;
   }