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/05/23 16:06:05 UTC

mesos git commit: Added appc_simple_discovery_uri_prefix to configuration.md.

Repository: mesos
Updated Branches:
  refs/heads/master 1edc9de22 -> 1fe623cae


Added appc_simple_discovery_uri_prefix to configuration.md.

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


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

Branch: refs/heads/master
Commit: 1fe623caefabc1bf3aa21c09155f987199af7186
Parents: 1edc9de
Author: Guangya Liu <gy...@gmail.com>
Authored: Mon May 23 09:05:55 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon May 23 09:05:55 2016 -0700

----------------------------------------------------------------------
 docs/configuration.md | 11 +++++++++++
 src/slave/flags.cpp   |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/1fe623ca/docs/configuration.md
----------------------------------------------------------------------
diff --git a/docs/configuration.md b/docs/configuration.md
index dd66d53..ae9067d 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -911,6 +911,17 @@ Example:
 </tr>
 <tr>
   <td>
+    --appc_simple_discovery_uri_prefix=VALUE
+  </td>
+  <td>
+URI prefix to be used for simple discovery of appc images,
+e.g., <code>http://</code>, <code>https://</code>,
+<code>hdfs://<hostname>:9000/user/abc/cde</code>.
+(default: http://)
+  </td>
+</tr>
+<tr>
+  <td>
     --appc_store_dir=VALUE
   </td>
   <td>

http://git-wip-us.apache.org/repos/asf/mesos/blob/1fe623ca/src/slave/flags.cpp
----------------------------------------------------------------------
diff --git a/src/slave/flags.cpp b/src/slave/flags.cpp
index 2d59329..d3543a0 100644
--- a/src/slave/flags.cpp
+++ b/src/slave/flags.cpp
@@ -119,7 +119,7 @@ mesos::internal::slave::Flags::Flags()
   add(&Flags::appc_simple_discovery_uri_prefix,
       "appc_simple_discovery_uri_prefix",
       "URI prefix to be used for simple discovery of appc images,\n"
-      "e.g., 'http://', 'https://', 'hdfs://<hostname>:9000/user/abc/cde'.",
+      "e.g., `http://`, `https://`, `hdfs://<hostname>:9000/user/abc/cde`.",
       "http://");
 
   add(&Flags::appc_store_dir,