From: Ailing Date: Wed, 28 May 2014 19:37:48 +0000 (-0700) Subject: rest-api: key missing for per "rx" and "rwx" X-Git-Tag: v0.82~30^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1880%2Fhead;p=ceph.git rest-api: key missing for per "rx" and "rwx" commit 85a1cf31e6 and db266a3fb2 introduce new per "rx" and "rwx", but key missing for per "rx" and "rwx" in permmap Signed-off-by: Ailing Zhang --- diff --git a/src/pybind/ceph_rest_api.py b/src/pybind/ceph_rest_api.py index 59d1ba28ddef..77adbe7f9dc8 100755 --- a/src/pybind/ceph_rest_api.py +++ b/src/pybind/ceph_rest_api.py @@ -274,7 +274,7 @@ def show_human_help(prefix): # XXX There ought to be a better discovery mechanism than an HTML table s = '' - permmap = {'r':'GET', 'rw':'PUT'} + permmap = {'r':'GET', 'rw':'PUT', 'rx':'GET', 'rwx':'PUT'} line = '' for cmdsig in sorted(app.ceph_sigdict.itervalues(), cmp=descsort): concise = concise_sig(cmdsig['sig'])
Possible commands:MethodDescription