From: Sage Weil Date: Tue, 12 Mar 2019 21:45:22 +0000 (-0500) Subject: mgr/BaseMgrStandbyModule: parse prefix properly X-Git-Tag: v14.2.0~39^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e66ed5883cdf7c59e6e87f343f0b2b780d92cbd3;p=ceph-ci.git mgr/BaseMgrStandbyModule: parse prefix properly Fixes: http://tracker.ceph.com/issues/38705 Signed-off-by: Sage Weil --- diff --git a/src/mgr/BaseMgrStandbyModule.cc b/src/mgr/BaseMgrStandbyModule.cc index 6a20b114c74..4a9c5671b7f 100644 --- a/src/mgr/BaseMgrStandbyModule.cc +++ b/src/mgr/BaseMgrStandbyModule.cc @@ -65,7 +65,7 @@ ceph_get_module_option(BaseMgrStandbyModule *self, PyObject *args) { char *what = nullptr; char *prefix = nullptr; - if (!PyArg_ParseTuple(args, "ss:ceph_get_module_option", &what)) { + if (!PyArg_ParseTuple(args, "ss:ceph_get_module_option", &what, &prefix)) { derr << "Invalid args!" << dendl; return nullptr; }