]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/rados: construct cmd as an array of a single entry
authorKefu Chai <kchai@redhat.com>
Tue, 1 Sep 2020 05:07:17 +0000 (13:07 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 11 Sep 2020 16:30:54 +0000 (00:30 +0800)
commit2d10914d5aaa60682a56ec27692aa4dfd6d901b9
treee856782bee9543a88650fa833a80565aee5aff6c
parent51a2a72215ac93836ccc37733607b8e97d808e10
pybind/rados: construct cmd as an array of a single entry

otherwise what monitor receives would be something like

mon_command({ " p r e f i x " :   " o s d   m a p " ...

difficult to parse/grep by machine/human.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/rados/rados.pyx