Repository: mesos
Updated Branches:
  refs/heads/master f8e4f11e7 -> a31dd52ab


Fixed `mesos-execute` help text related to task resources.

With reservation refinement, `mesos-execute` requires input resources
to be in the post-reservation-refinement format. This patch updates
the help string to reflect this correctly.

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


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

Branch: refs/heads/master
Commit: a31dd52ab71d2a529b55cd9111ec54acf7550ded
Parents: f8e4f11
Author: Benjamin Bannier <benjamin.bann...@mesosphere.io>
Authored: Tue Aug 8 16:00:31 2017 -0700
Committer: Michael Park <mp...@apache.org>
Committed: Tue Aug 8 16:03:15 2017 -0700

----------------------------------------------------------------------
 src/cli/execute.cpp | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/a31dd52a/src/cli/execute.cpp
----------------------------------------------------------------------
diff --git a/src/cli/execute.cpp b/src/cli/execute.cpp
index 81eebfd..e844fa4 100644
--- a/src/cli/execute.cpp
+++ b/src/cli/execute.cpp
@@ -121,16 +121,14 @@ public:
         "      \"type\": \"SCALAR\",\n"
         "      \"scalar\": {\n"
         "        \"value\": 0.1\n"
-        "      },\n"
-        "      \"role\": \"*\"\n"
+        "      }\n"
         "    },\n"
         "    {\n"
         "      \"name\": \"mem\",\n"
         "      \"type\": \"SCALAR\",\n"
         "      \"scalar\": {\n"
         "        \"value\": 32\n"
-        "      },\n"
-        "      \"role\": \"*\"\n"
+        "      }\n"
         "    }\n"
         "  ],\n"
         "  \"command\": {\n"
@@ -160,16 +158,14 @@ public:
         "            \"type\": \"SCALAR\",\n"
         "            \"scalar\": {\n"
         "                \"value\": 0.1\n"
-        "             },\n"
-        "            \"role\": \"*\"\n"
+        "             }\n"
         "           },\n"
         "           {\n"
         "            \"name\": \"mem\",\n"
         "            \"type\": \"SCALAR\",\n"
         "            \"scalar\": {\n"
         "                \"value\": 32\n"
-        "             },\n"
-        "            \"role\": \"*\"\n"
+        "             }\n"
         "          }],\n"
         "         \"command\": {\n"
         "            \"value\": \"sleep 1000\"\n"

Reply via email to