]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/mgr_module: add poll param to CLICommand
authorKefu Chai <kchai@redhat.com>
Sat, 16 Jan 2021 14:54:51 +0000 (22:54 +0800)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 29 Jan 2021 12:42:38 +0000 (13:42 +0100)
commit637764e172b5a4e338eb6cb1e9c36a376ff7bf90
tree6ab481991ffd2d251496581e2793f8975476a331
parent4b93fe73a2eafcd337992179550a676bedf95a69
pybind/mgr/mgr_module: add poll param to CLICommand

and add it to the output of dump_cmd() call, if "poll" is missing
in the output of dump_cmd() call, ceph CLI consider the it as False.

but it'd be better to be explicit. so this field is always set.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 7a2e460d34dc5f7e2124bcbedd527d63fa467017)
src/pybind/mgr/mgr_module.py