summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorMohit Agrawal <moagrawa@redhat.com>2016-06-29 15:36:41 +0530
committerAtin Mukherjee <amukherj@redhat.com>2016-07-12 02:30:12 -0700
commit9733c68e878869daec196bf7bca16780eef73f74 (patch)
tree02290411941754bcc1261dea64def66da263d78d /xlators/mgmt
parent633d88ea7ef621bcce9a408188bc57858f6ca942 (diff)
gluster v set help does not show ssl options
Problem: "gluster v set help" does not show ssl options. Solution: Remove NO_DOC option for client.ssl/server.ssl from glusterd_volopt_map. Change-Id: Iabe982ea56398209bbf30d41260798e5ad7fce7b BUG: 1351134 Signed-off-by: Mohit Agrawal <moagrawa@redhat.com> Reviewed-on: http://review.gluster.org/14829 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Atin Mukherjee <amukherj@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 31273fb5cea..6de83a7ef4c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1654,8 +1654,9 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{ .key = "client.ssl",
.voltype = "protocol/client",
.option = "transport.socket.ssl-enabled",
- .type = NO_DOC,
.op_version = 2,
+ .description = "enable/disable client.ssl flag in the "
+ "volume.",
.flags = OPT_FLAG_CLIENT_OPT
},
{ .key = "network.remote-dio",
@@ -1754,7 +1755,8 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{ .key = "server.ssl",
.voltype = "protocol/server",
.option = "transport.socket.ssl-enabled",
- .type = NO_DOC,
+ .description = "enable/disable server.ssl flag in the "
+ "volume.",
.op_version = 2
},
{ .key = "auth.ssl-allow",