diff options
author | Sage Weil <sage@inktank.com> | 2013-08-08 08:30:01 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-08-08 08:30:01 -0700 |
commit | 2e280874f685201f5b89c25fb8fe8f9850d8614e (patch) | |
tree | e0bf64f17ab7037a188d9d2b8f3b670bb6e6d273 | |
parent | 0c1fd629fa56bcd9b20ee4dab6e477a3a90c003b (diff) | |
download | ceph-2e280874f685201f5b89c25fb8fe8f9850d8614e.tar.gz |
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 <sage@inktank.com>
-rw-r--r-- | src/mon/MonCommands.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 <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", \ |