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 2017/11/06 23:06:58 UTC

[08/14] mesos git commit: Added latest_status field to OfferOperation protobuf.

Added latest_status field to OfferOperation protobuf.

Review: https://reviews.apache.org/r/63481


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

Branch: refs/heads/master
Commit: c9c2a38bff084027b990c5a0c7fac68bcea09658
Parents: eb5e65c
Author: Jie Yu <yu...@gmail.com>
Authored: Wed Nov 1 12:38:19 2017 +0100
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Nov 6 14:37:26 2017 -0800

----------------------------------------------------------------------
 include/mesos/mesos.proto    | 5 +++--
 include/mesos/v1/mesos.proto | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/c9c2a38b/include/mesos/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto
index 68a5538..26e9b6c 100644
--- a/include/mesos/mesos.proto
+++ b/include/mesos/mesos.proto
@@ -2183,16 +2183,17 @@ message TaskResourceLimitation {
 message OfferOperation {
   required FrameworkID framework_id = 1;
   required Offer.Operation info = 2;
+  required OfferOperationStatus latest_status = 3;
 
   // All the statuses known to this offer operation. Some of the
   // statuses in this list might not have been acknowledged yet. The
   // statuses are ordered.
-  repeated OfferOperationStatus statuses = 3;
+  repeated OfferOperationStatus statuses = 4;
 
   // This is the internal UUID for the operation, which is kept
   // independently from the framework-specified operation ID, which is
   // optional.
-  required bytes operation_uuid = 4;
+  required bytes operation_uuid = 5;
 }
 
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/c9c2a38b/include/mesos/v1/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto
index c46cec7..7770b0a 100644
--- a/include/mesos/v1/mesos.proto
+++ b/include/mesos/v1/mesos.proto
@@ -2164,16 +2164,17 @@ message TaskResourceLimitation {
 message OfferOperation {
   required FrameworkID framework_id = 1;
   required Offer.Operation info = 2;
+  required OfferOperationStatus latest_status = 3;
 
   // All the statuses known to this offer operation. Some of the
   // statuses in this list might not have been acknowledged yet. The
   // statuses are ordered.
-  repeated OfferOperationStatus statuses = 3;
+  repeated OfferOperationStatus statuses = 4;
 
   // This is the internal UUID for the operation, which is kept
   // independently from the framework-specified operation ID, which is
   // optional.
-  required bytes operation_uuid = 4;
+  required bytes operation_uuid = 5;
 }