]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix 'pg dump_stuck' stuckops type
authorSage Weil <sage@inktank.com>
Wed, 12 Jun 2013 20:39:30 +0000 (13:39 -0700)
committerSage Weil <sage@inktank.com>
Wed, 12 Jun 2013 20:39:30 +0000 (13:39 -0700)
It's a list.

Fixes: #5332
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
src/mon/MonCommands.h

index ec66f5770f92b60a962a0e92311ddf81bed11fac..4e64a0a70d497039c181dd34c418856a158ff918 100644 (file)
@@ -107,7 +107,7 @@ COMMAND("pg dump_json " \
        "show human-readable version of pg map in json only")
 COMMAND("pg dump_pools_json", "show pg pools info in json only")
 COMMAND("pg dump_stuck " \
-       "name=stuckops,type=CephChoices,strings=inactive|unclean|stale,req=false " \
+       "name=stuckops,type=CephChoices,strings=inactive|unclean|stale,n=N,req=false " \
        "name=threshold,type=CephInt,req=false",
        "show information about stuck pgs [--threshold=seconds to consider stuck]")
 COMMAND("pg map name=pgid,type=CephPgid", "show mapping of pg to osds")