]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix 'osd crush rule rm ...' dup arg
authorSage Weil <sage@inktank.com>
Thu, 8 Aug 2013 15:30:01 +0000 (08:30 -0700)
committerSage Weil <sage@inktank.com>
Thu, 8 Aug 2013 15:30:01 +0000 (08:30 -0700)
This was broken way back in 0d66c9ebbf626117c641c975a8682a0aaba588c4, but
we were ignoring the dup until recently.
t
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/MonCommands.h

index 3b398ba661b17e065a29828e69629ab8ca7728dd..8e9c2bb333b374a0153a34588c91c270230aaae5 100644 (file)
@@ -418,8 +418,7 @@ COMMAND("osd crush rule create-simple " \
        "create crush rule <name> in <root> of type <type>", \
        "osd", "rw", "cli,rest")
 COMMAND("osd crush rule rm " \
-       "name=name,type=CephString,goodchars=[A-Za-z0-9-_.] " \
-       "name=name,type=CephString", \
+       "name=name,type=CephString,goodchars=[A-Za-z0-9-_.] ",  \
        "remove crush rule <name>", "osd", "rw", "cli,rest")
 COMMAND("osd setmaxosd " \
        "name=newmax,type=CephInt,range=0", \