From a373692fa1ea041a7d95ca769b62df33ca68aec6 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Wed, 12 Jul 2017 17:10:36 +0800 Subject: [PATCH] mon/MonCommand: drop unnecessary write permission since "log last" does not ask for it. Signed-off-by: xie xingguo --- src/mon/MonCommands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.5