From d26bca09cf1bece69145efed7f76c6ef632b1ac5 Mon Sep 17 00:00:00 2001 From: Yan Jun Date: Sat, 24 Jun 2017 12:49:59 +0800 Subject: [PATCH] mgr: drop unnecessary write permission Signed-off-by: Yan Jun --- 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 00afc2e930c..34ea8690e8e 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -942,6 +942,6 @@ COMMAND("config-key dump", "dump keys and values", "config-key", "r", "cli,rest" COMMAND("mgr dump " \ "name=epoch,type=CephInt,range=0,req=false", \ "dump the latest MgrMap", \ - "mgr", "rw", "cli,rest") + "mgr", "r", "cli,rest") COMMAND("mgr fail name=who,type=CephString", \ "treat the named manager daemon as failed", "mgr", "rw", "cli,rest") -- 2.47.3