You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ch...@apache.org on 2018/10/31 18:28:24 UTC

[mesos] 06/06: Added a comment for `Resource.provider_id`.

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

chhsiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 002acd743caa98e4a8bd0138b837bb70f7fc45da
Author: Chun-Hung Hsiao <ch...@apache.org>
AuthorDate: Wed Oct 31 11:18:46 2018 -0700

    Added a comment for `Resource.provider_id`.
    
    Review: https://reviews.apache.org/r/69035/
---
 include/mesos/mesos.proto    | 1 +
 include/mesos/v1/mesos.proto | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto
index f6989cd..06a901d 100644
--- a/include/mesos/mesos.proto
+++ b/include/mesos/mesos.proto
@@ -1173,6 +1173,7 @@ message Attribute {
  * which correspond to partial shares of a CPU.
  */
 message Resource {
+  // Specified if the resource comes from a particular resource provider.
   optional ResourceProviderID provider_id = 12;
 
   required string name = 1;
diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto
index edad35a..75cdb28 100644
--- a/include/mesos/v1/mesos.proto
+++ b/include/mesos/v1/mesos.proto
@@ -1165,6 +1165,7 @@ message Attribute {
  * which correspond to partial shares of a CPU.
  */
 message Resource {
+  // Specified if the resource comes from a particular resource provider.
   optional ResourceProviderID provider_id = 12;
 
   required string name = 1;