]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: Remove spurious 'who' arg from mds rm
authorJohn Spray <john.spray@redhat.com>
Wed, 3 Jun 2015 09:22:50 +0000 (10:22 +0100)
committerJohn Spray <john.spray@redhat.com>
Wed, 3 Jun 2015 09:22:50 +0000 (10:22 +0100)
This was never used, looks like a typo
from f26bd55e where the MonCommands.h
definitions were created.

Remove it because it confuses people using "mds rm"
who end up thinking it's not working because
they aren't passing a who.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/MonCommands.h

index 6f9b87694733717038dab58bf5be0843a7631b8a..6e34c5056faf910e1afaa789441f2912559116fe 100644 (file)
@@ -307,8 +307,7 @@ COMMAND("mds fail name=who,type=CephString", \
 COMMAND("mds repaired name=rank,type=CephInt", \
        "mark a damaged MDS rank as no longer damaged", "mds", "rw", "cli,rest")
 COMMAND("mds rm " \
-       "name=gid,type=CephInt,range=0 " \
-       "name=who,type=CephName", \
+       "name=gid,type=CephInt,range=0", \
        "remove nonactive mds", "mds", "rw", "cli,rest")
 COMMAND("mds rmfailed name=who,type=CephInt,range=0", "remove failed mds", \
        "mds", "rw", "cli,rest")