This is an automated email from the ASF dual-hosted git repository.
jieyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 7614931 Fixed wrong example of --resources=filepath agent
configuration.
7614931 is described below
commit 7614931655256a1d57d8498b6400b4936dfd332d
Author: longfei <[email protected]>
AuthorDate: Tue Dec 25 16:41:34 2018 +0800
Fixed wrong example of --resources=filepath agent configuration.
Change-Id: I10ac0b5ec20319c1590a63506fbd92f5e82e9dee
---
docs/configuration/agent.md | 4 ++--
src/slave/flags.cpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/configuration/agent.md b/docs/configuration/agent.md
index e744c3c..04d7114 100644
--- a/docs/configuration/agent.md
+++ b/docs/configuration/agent.md
@@ -1361,8 +1361,8 @@ As a key:value list:
<p/>
To use JSON, pass a JSON-formatted string or use
<code>--resources=filepath</code> to specify the resources via a file
containing
-a JSON-formatted string. 'filepath' can be of the form
-<code>file:///path/to/file</code> or <code>/path/to/file</code>.
+a JSON-formatted string. 'filepath' can only be of the form
+<code>file:///path/to/file</code>.
<p/>
Example JSON:
<pre><code>[
diff --git a/src/slave/flags.cpp b/src/slave/flags.cpp
index 5fe5e05..49a350f 100644
--- a/src/slave/flags.cpp
+++ b/src/slave/flags.cpp
@@ -74,8 +74,8 @@ mesos::internal::slave::Flags::Flags()
"\n"
"To use JSON, pass a JSON-formatted string or use\n"
"`--resources=filepath` to specify the resources via a file containing\n"
- "a JSON-formatted string. `filepath` can be of the form\n"
- "`file:///path/to/file` or `/path/to/file`.\n"
+ "a JSON-formatted string. `filepath` can only be of the form\n"
+ "`file:///path/to/file`.\n"
"\n"
"Example JSON:\n"
"[\n"