From: xie xingguo Date: Wed, 12 Jul 2017 09:10:36 +0000 (+0800) Subject: mon/MonCommand: drop unnecessary write permission X-Git-Tag: ses5-milestone9~1^2~13^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a373692fa1ea041a7d95ca769b62df33ca68aec6;p=ceph.git mon/MonCommand: drop unnecessary write permission since "log last" does not ask for it. Signed-off-by: xie xingguo --- diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index bd255fe5b2e..7cf0aa3226e 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -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",