From 98eb401025381ae5ff4b8921db39c0e44e66a1af Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 4 Aug 2020 14:27:35 +0800 Subject: crimson/admin: move config hooks into admin_socket.cc they are not specific to OSD, let's move them into admin_socket.cc Signed-off-by: Kefu Chai --- src/crimson/osd/osd.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/crimson/osd/osd.cc') diff --git a/src/crimson/osd/osd.cc b/src/crimson/osd/osd.cc index 87409c242f7..8454780f4ca 100644 --- a/src/crimson/osd/osd.cc +++ b/src/crimson/osd/osd.cc @@ -429,9 +429,6 @@ seastar::future<> OSD::start_asok_admin() asok->register_admin_commands(), asok->register_command(make_asok_hook(*this)), asok->register_command(make_asok_hook(*this)), - asok->register_command(make_asok_hook()), - asok->register_command(make_asok_hook()), - asok->register_command(make_asok_hook()), asok->register_command(make_asok_hook(*this))); }); } -- cgit v1.2.3