]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/MonCommand: drop unnecessary write permission
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 12 Jul 2017 09:10:36 +0000 (17:10 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 15 Jul 2017 06:23:44 +0000 (14:23 +0800)
since "log last" does not ask for it.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/MonCommands.h

index bd255fe5b2e5470774f7876893f801ee825f4a69..7cf0aa3226e5d9e1a240a27f81be55b40e387178 100644 (file)
@@ -204,7 +204,7 @@ COMMAND("log last "
         "name=level,type=CephChoices,strings=debug|info|sec|warn|error,req=false "
         "name=channel,type=CephChoices,strings=*|cluster|audit,req=false", \
        "print last few lines of the cluster log", \
-       "mon", "rw", "cli,rest")
+       "mon", "r", "cli,rest")
 COMMAND_WITH_FLAG("injectargs " \
             "name=injected_args,type=CephString,n=N",                  \
             "inject config arguments into monitor", "mon", "rw", "cli,rest",