]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/mgr_module: fix calc_pg_upmaps 18691/head
authorSage Weil <sage@redhat.com>
Thu, 2 Nov 2017 21:18:03 +0000 (16:18 -0500)
committerSage Weil <sage@redhat.com>
Thu, 2 Nov 2017 21:18:03 +0000 (16:18 -0500)
This was fixed in the object cleanup.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/mgr_module.py

index 07068d25054709f3b27b92d03c6719c1c6f0b928..4de0a33594c578f66a3454b88b77c87ad9d8f20a 100644 (file)
@@ -99,7 +99,7 @@ class OSDMap(ceph_module.BasePyOSDMap):
     def calc_pg_upmaps(self, inc,
                        max_deviation=.01, max_iterations=10, pools=[]):
         return self._calc_pg_upmaps(
-            inc._handle,
+            inc,
             max_deviation, max_iterations, pools)
 
     def map_pool_pgs_up(self, poolid):