From: Sage Weil Date: Thu, 2 Nov 2017 21:18:03 +0000 (-0500) Subject: pybind/mgr/mgr_module: fix calc_pg_upmaps X-Git-Tag: v12.2.2~44^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=77766609d808a974aafdff359dadc46af5bd26f4;p=ceph.git pybind/mgr/mgr_module: fix calc_pg_upmaps This was fixed in the object cleanup. Signed-off-by: Sage Weil (cherry picked from commit ed442164d52c803916ca43a5ed76047089d3da66) --- diff --git a/src/pybind/mgr/mgr_module.py b/src/pybind/mgr/mgr_module.py index 958d49c234ae..1abbcc5cd4fb 100644 --- a/src/pybind/mgr/mgr_module.py +++ b/src/pybind/mgr/mgr_module.py @@ -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):