From abfdea5d216023fdacfad02135ef3cb38f881362 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 18 Jan 2019 15:14:19 -0600 Subject: [PATCH] mgr/BaseMgrModule: fix mon commands targetting a specific monitor We just need to use the right variant of start_mon_command(). Fixes: http://tracker.ceph.com/issues/37967 Signed-off-by: Sage Weil --- src/mgr/BaseMgrModule.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mgr/BaseMgrModule.cc b/src/mgr/BaseMgrModule.cc index 3a1881f9ab8..eb0d24dfe18 100644 --- a/src/mgr/BaseMgrModule.cc +++ b/src/mgr/BaseMgrModule.cc @@ -157,6 +157,7 @@ ceph_send_command(BaseMgrModule *self, PyObject *args) }); self->py_modules->get_monc().start_mon_command( + name, {cmd_json}, {}, &command_c->outbl, -- 2.47.3