]> 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)
committerKefu Chai <kchai@redhat.com>
Sun, 24 Jan 2021 14:16:36 +0000 (22:16 +0800)
commit7a2e460d34dc5f7e2124bcbedd527d63fa467017
tree6bc8713f2a7592c108495bbb07d2e023d573e911
parent1453f0ff1f57ef4473bbdc0a6037c8316e8fec21
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>
src/pybind/mgr/mgr_module.py