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/15 18:56:54 UTC

mesos git commit: Added v1 protobuf for nested ContainerID.

Repository: mesos
Updated Branches:
  refs/heads/master 1d9cc2a18 -> fc5f86ab0


Added v1 protobuf for nested ContainerID.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/fc5f86ab
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/fc5f86ab
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/fc5f86ab

Branch: refs/heads/master
Commit: fc5f86ab071d7077e7a25b632f65923af0aa000c
Parents: 1d9cc2a
Author: Jie Yu <yu...@gmail.com>
Authored: Mon Aug 15 11:56:40 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Aug 15 11:56:40 2016 -0700

----------------------------------------------------------------------
 include/mesos/v1/mesos.proto | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/fc5f86ab/include/mesos/v1/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto
index a836f6e..a30f877 100644
--- a/include/mesos/v1/mesos.proto
+++ b/include/mesos/v1/mesos.proto
@@ -82,13 +82,14 @@ message ExecutorID {
 
 
 /**
- * An agent-generated ID to distinguish a container. The ID must be
- * unique between any active or completed containers on the agent. In
- * particular, containers for different runs of the same (framework,
- * executor) pair must be unique.
+ * ID used to uniquely identify a container. If the `parent` is not
+ * specified, the ID is a UUID generated by the agent to uniquely
+ * identify the container of an executor run. If the `parent` field is
+ * specified, it represents a nested container.
  */
 message ContainerID {
   required string value = 1;
+  optional ContainerID parent = 2;
 }