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/08/16 00:38:54 UTC
[5/6] mesos git commit: Added nested Container struct in
MesosContainerizer.
Added nested Container struct in MesosContainerizer.
Review: https://reviews.apache.org/r/51116
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7c33ecf3
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7c33ecf3
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/7c33ecf3
Branch: refs/heads/master
Commit: 7c33ecf3631134a265a9a8407be99d0a520cffcf
Parents: 19c02f8
Author: Jie Yu <yu...@gmail.com>
Authored: Mon Aug 15 15:55:26 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Aug 15 17:38:44 2016 -0700
----------------------------------------------------------------------
src/slave/containerizer/mesos/containerizer.hpp | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/7c33ecf3/src/slave/containerizer/mesos/containerizer.hpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/containerizer.hpp b/src/slave/containerizer/mesos/containerizer.hpp
index 8180fea..19a978a 100644
--- a/src/slave/containerizer/mesos/containerizer.hpp
+++ b/src/slave/containerizer/mesos/containerizer.hpp
@@ -346,6 +346,9 @@ private:
// associated with this container. `Sequence` allows us to
// maintain the order of `status` requests for a given container.
process::Sequence sequence;
+
+ // Containers nested under this container.
+ hashmap<ContainerID, process::Owned<Container>> containers;
};
hashmap<ContainerID, process::Owned<Container>> containers_;