]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr: add MgrModule.mon_command helper
authorJohn Spray <john.spray@redhat.com>
Tue, 27 Nov 2018 03:38:34 +0000 (21:38 -0600)
committerSage Weil <sage@redhat.com>
Tue, 27 Nov 2018 03:43:43 +0000 (21:43 -0600)
commit80b311d06e0ad6cea5f402cc9631f6ba1299f0a9
treef3d008f14dbdce3064ea2db9d938cba158242ef0
parentd48c2c705bb1734ce0f19083ad3ea82444720105
mgr: add MgrModule.mon_command helper

The flexibilty of send_command and CommandResult
is needed sometimes, but lots of places just want
a simpler synchronous command to the monitor.

Signed-off-by: John Spray <john.spray@redhat.com>
src/pybind/mgr/mgr_module.py