diff options
author | David Zafman <david.zafman@inktank.com> | 2013-01-18 09:31:00 -0800 |
---|---|---|
committer | David Zafman <david.zafman@inktank.com> | 2013-01-22 15:57:00 -0800 |
commit | cfb1aa809db65e3fbbdfd5c43ea245d94e80b4ea (patch) | |
tree | 0aa44675e07f923baf30272c7bf4341518b2cb4f | |
parent | c3266ad109616bc9b02841693f94f047b62453c6 (diff) | |
download | ceph-cfb1aa809db65e3fbbdfd5c43ea245d94e80b4ea.tar.gz |
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>
-rw-r--r-- | src/osd/OSD.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 4549eb76671..0d289f6c875 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -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; |