From: Sage Weil Date: Thu, 8 Aug 2013 15:30:01 +0000 (-0700) Subject: mon: fix 'osd crush rule rm ...' dup arg X-Git-Tag: v0.67~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2e280874f685201f5b89c25fb8fe8f9850d8614e;p=ceph.git mon: fix 'osd crush rule rm ...' dup arg This was broken way back in 0d66c9ebbf626117c641c975a8682a0aaba588c4, but we were ignoring the dup until recently. t Signed-off-by: Sage Weil --- diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index 3b398ba661b..8e9c2bb333b 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -418,8 +418,7 @@ COMMAND("osd crush rule create-simple " \ "create crush rule in of 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 ", "osd", "rw", "cli,rest") COMMAND("osd setmaxosd " \ "name=newmax,type=CephInt,range=0", \