summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanju Rakonde <srakonde@redhat.com>2017-10-18 11:40:59 +0530
committerjiffin tony Thottan <jthottan@redhat.com>2017-10-25 11:47:45 +0000
commit7d72d5de2f978db30072f72caa559c1f5f543ef6 (patch)
treef63d4235a239b65ae2f37c1560ee27015cfb477f
parent543c9e0459fcf250b374d781ded4697106220411 (diff)
glusterd: documenting server.allow-insecure
problem: "server.allow-insecure" is invisible in gluster volume set help. Fix: "server.allow-insecure" is defined as NO_DOC type, chainging it to DOC type solve the problem. Change-Id: I327f1e4c1684ff846deb8b7df07d4d8a09073274 BUG: 1505373 Signed-off-by: Sanju Rakonde <srakonde@redhat.com> (cherry picked from commit c0b08f10ed07bfe06309e31a7fff85cadb733ce2)
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 14b9e21d1dd..230f8366dcc 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1954,7 +1954,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{ .key = "server.allow-insecure",
.voltype = "protocol/server",
.option = "rpc-auth-allow-insecure",
- .type = NO_DOC,
+ .type = DOC,
.op_version = 1
},
{ .key = "server.root-squash",