]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_volume_client: use integer division for pg_num 24083/head
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 27 Jul 2018 21:05:42 +0000 (14:05 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 27 Sep 2018 23:25:18 +0000 (16:25 -0700)
commit10fc7ae467b5efad0c311d63ec76a7c73ad85f41
tree40dcce099824a09e923c06c512c9df7fc009b4b4
parent2428547b9987c18f7c0b454179b21c308775efaa
ceph_volume_client: use integer division for pg_num

Otherwise a float is sent to the manager which is not the invalid format.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 33910303cb4940ca90cd76a5b4adb4de9c88d04c)
src/pybind/ceph_volume_client.py