mirror of
https://github.com/ceph/ceph
synced 2024-12-14 23:46:28 +00:00
osd: Add missing unregister_command() in OSD::shutdown()
Signed-off-by: David Zafman <david.zafman@inktank.com> Reviewed-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
c3266ad109
commit
cfb1aa809d
@ -1120,6 +1120,7 @@ int OSD::shutdown()
|
||||
dout(10) << "no ops" << dendl;
|
||||
|
||||
cct->get_admin_socket()->unregister_command("dump_ops_in_flight");
|
||||
cct->get_admin_socket()->unregister_command("dump_historic_ops");
|
||||
delete admin_ops_hook;
|
||||
delete historic_ops_hook;
|
||||
admin_ops_hook = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user