From: Sage Weil Date: Sat, 8 Feb 2020 15:25:01 +0000 (-0600) Subject: mon: fix tell command registration X-Git-Tag: v15.1.1~477^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2f17cd47b5c3843f0c4363e2d3db6c7ae61ef300;p=ceph-ci.git mon: fix tell command registration Pass full cmddesc, not just prefix. Broken by 3394b70ba18cffa49317141ff444ba9990d6170b Fixes: https://tracker.ceph.com/issues/44050 Signed-off-by: Sage Weil --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index e7afe45d68d..469cc17e335 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -862,7 +862,7 @@ int Monitor::preinit() // not registerd by me continue; } - r = admin_socket->register_command(prefix, admin_hook, + r = admin_socket->register_command(command.cmdstring, admin_hook, command.helpstring); ceph_assert(r == 0); }