From 0b5a67410793ec28cac47e6e44cbbcf5684d77e7 Mon Sep 17 00:00:00 2001 From: Ailing Date: Wed, 28 May 2014 12:37:48 -0700 Subject: [PATCH] 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 --- src/pybind/ceph_rest_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/ceph_rest_api.py b/src/pybind/ceph_rest_api.py index 59d1ba28ddefa..77adbe7f9dc88 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']) -- 2.39.5
Possible commands:MethodDescription