You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2015/12/01 14:44:09 UTC

mesos git commit: Clarified the comment for `Accept` protobuf message.

Repository: mesos
Updated Branches:
  refs/heads/master 2bfdfc449 -> 3a2b6fc6c


Clarified the comment for `Accept` protobuf message.

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


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

Branch: refs/heads/master
Commit: 3a2b6fc6c7504e8d1968da3357a88d13b2625396
Parents: 2bfdfc4
Author: Alexander Rukletsov <ru...@gmail.com>
Authored: Tue Dec 1 08:39:59 2015 -0500
Committer: Michael Park <mp...@apache.org>
Committed: Tue Dec 1 08:43:40 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/3a2b6fc6/include/mesos/scheduler/scheduler.proto
----------------------------------------------------------------------
diff --git a/include/mesos/scheduler/scheduler.proto b/include/mesos/scheduler/scheduler.proto
index 7bf447e..7d5322e 100644
--- a/include/mesos/scheduler/scheduler.proto
+++ b/include/mesos/scheduler/scheduler.proto
@@ -222,10 +222,11 @@ message Call {
   //     ]
   //   }
   //
-  // Note that any of the offer’s resources not used in the 'Accept'
-  // call (e.g., to launch a task) are considered unused and might be
-  // reoffered to other frameworks. In other words, the same OfferID
-  // cannot be used in more than one 'Accept' call.
+  // NOTE: Any of the offer’s resources not used in the `Accept` call
+  // (e.g., to launch a task) are considered unused and might be
+  // reoffered to other frameworks. In other words, the same `OfferID`
+  // cannot be used in more than one `Accept` call.
+  // NOTE: All offers must belong to the same agent.
   message Accept {
     repeated OfferID offer_ids = 1;
     repeated Offer.Operation operations = 2;