You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by qi...@apache.org on 2020/08/14 00:52:20 UTC
[mesos] branch master updated: Updated the help message of the
agent flag `--csi_plugin_config_dir`.
This is an automated email from the ASF dual-hosted git repository.
qianzhang 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 831f172 Updated the help message of the agent flag `--csi_plugin_config_dir`.
831f172 is described below
commit 831f172de7908ad8e40d14905cacb3a9c053e832
Author: Qian Zhang <zh...@gmail.com>
AuthorDate: Thu Aug 13 16:37:48 2020 +0800
Updated the help message of the agent flag `--csi_plugin_config_dir`.
This is to make the help message of the agent flag `--csi_plugin_config_dir`
aligned with the latest protobuf message `CSIPluginInfo`.
Review: https://reviews.apache.org/r/72770
---
docs/configuration/agent.md | 7 ++++++-
src/slave/flags.cpp | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/docs/configuration/agent.md b/docs/configuration/agent.md
index e8608d9..4899202 100644
--- a/docs/configuration/agent.md
+++ b/docs/configuration/agent.md
@@ -1548,7 +1548,12 @@ Example config files in this directory:
}</code></pre>
<pre><code>{
"type": "org.apache.mesos.csi.unmanaged-plugin",
- "node_service_endpoint": "/var/lib/unmanaged-plugin/csi.sock",
+ "endpoints": [
+ {
+ "csi_service": "NODE_SERVICE",
+ "endpoint": "/var/lib/unmanaged-plugin/csi.sock"
+ }
+ ],
"target_path_root": "/mnt/unmanaged-plugin"
}</code></pre>
</td>
diff --git a/src/slave/flags.cpp b/src/slave/flags.cpp
index 02a5568..878788c 100644
--- a/src/slave/flags.cpp
+++ b/src/slave/flags.cpp
@@ -150,7 +150,12 @@ mesos::internal::slave::Flags::Flags()
"\n"
"{\n"
" \"type\": \"org.apache.mesos.csi.unmanaged-plugin\",\n"
- " \"node_service_endpoint\": \"/var/lib/unmanaged-plugin/csi.sock\",\n"
+ " \"endpoints\": [\n"
+ " {\n"
+ " \"csi_service\": \"NODE_SERVICE\",\n"
+ " \"endpoint\": \"/var/lib/unmanaged-plugin/csi.sock\"\n"
+ " }\n"
+ " ],\n"
" \"target_path_root\": \"/mnt/unmanaged-plugin\"\n"
"}");