]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr/status: cast return value to int
authorKefu Chai <kchai@redhat.com>
Fri, 29 Jan 2021 03:42:05 +0000 (11:42 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 29 Jan 2021 11:42:32 +0000 (19:42 +0800)
commitf1ebf6b34d31b732956178eef608d324d50aa7c2
treeaf5ae22eb40fde68d7c2327519c056fff14b4e2e
parent3649ecf64ccb111c80218477f24021d70a78485f
pybind/mgr/status: cast return value to int

the return value of get_rate() is fed to mgr_util.format_dimless(),
which always cast the formatted value to int.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/status/module.py