From: Sage Weil Date: Fri, 18 Jan 2019 21:14:19 +0000 (-0600) Subject: mgr/BaseMgrModule: fix mon commands targetting a specific monitor X-Git-Tag: v14.1.0~326^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F26031%2Fhead;p=ceph.git 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 --- 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,