]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mgr/PyOSDMap.cc
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / mgr / PyOSDMap.cc
index dd67ae223e4a29e2e5d738bcfaffc45f5f652666..681546a8f7f8a567dde8c31ef2ca989a6d542e15 100644 (file)
@@ -114,9 +114,9 @@ static PyObject *osdmap_calc_pg_upmaps(BasePyOSDMap* self, PyObject *args)
 {
   PyObject *pool_list;
   BasePyOSDMapIncremental *incobj;
-  double max_deviation = 0;
+  int max_deviation = 0;
   int max_iterations = 0;
-  if (!PyArg_ParseTuple(args, "OdiO:calc_pg_upmaps",
+  if (!PyArg_ParseTuple(args, "OiiO:calc_pg_upmaps",
                        &incobj, &max_deviation,
                        &max_iterations, &pool_list)) {
     return nullptr;