From: Sage Weil Date: Tue, 26 Jun 2018 12:03:46 +0000 (-0500) Subject: mon/MonCommands: hide 'osd destroy-actual' X-Git-Tag: v14.0.1~684^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e0ee5807edffa6840a4bf284305bdf04947f1eb9;p=ceph.git mon/MonCommands: hide 'osd destroy-actual' This is only invoked directly (via JSON) by the mgr. Signed-off-by: Sage Weil --- diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index 106d973695db..ccd533f5f238 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -871,13 +871,13 @@ COMMAND("osd primary-affinity " \ "type=CephFloat,name=weight,range=0.0|1.0", \ "adjust osd primary-affinity from 0.0 <= <= 1.0", \ "osd", "rw", "cli,rest") -COMMAND("osd destroy-actual " \ +COMMAND_WITH_FLAG("osd destroy-actual " \ "name=id,type=CephOsdName " \ "name=sure,type=CephChoices,strings=--yes-i-really-mean-it,req=false", \ "mark osd as being destroyed. Keeps the ID intact (allowing reuse), " \ "but removes cephx keys, config-key data and lockbox keys, "\ "rendering data permanently unreadable.", \ - "osd", "rw", "cli,rest") + "osd", "rw", "cli,rest", FLAG(HIDDEN)) COMMAND("osd purge-new " \ "name=id,type=CephOsdName " \ "name=sure,type=CephChoices,strings=--yes-i-really-mean-it,req=false", \