From e66ed5883cdf7c59e6e87f343f0b2b780d92cbd3 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 12 Mar 2019 16:45:22 -0500 Subject: [PATCH] mgr/BaseMgrStandbyModule: parse prefix properly Fixes: http://tracker.ceph.com/issues/38705 Signed-off-by: Sage Weil --- src/mgr/BaseMgrStandbyModule.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mgr/BaseMgrStandbyModule.cc b/src/mgr/BaseMgrStandbyModule.cc index 6a20b114c748..4a9c5671b7f5 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; } -- 2.47.3