mirror of
https://github.com/ceph/ceph
synced 2025-04-01 14:51:13 +00:00
osd: remove dead rotating key code from init
Ancient, dead. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
eee0982223
commit
9a38059afa
@ -912,15 +912,6 @@ int OSD::init()
|
||||
// tick
|
||||
timer.add_event_after(g_conf->osd_heartbeat_interval, new C_Tick(this));
|
||||
|
||||
#if 0
|
||||
int ret = monc->start_auth_rotating(ename, KEY_ROTATE_TIME);
|
||||
if (ret < 0) {
|
||||
dout(0) << "could not start rotating keys, err=" << ret << dendl;
|
||||
return ret;
|
||||
}
|
||||
dout(0) << "started rotating keys" << dendl;
|
||||
#endif
|
||||
|
||||
admin_ops_hook = new OpsFlightSocketHook(this);
|
||||
AdminSocket *admin_socket = cct->get_admin_socket();
|
||||
r = admin_socket->register_command("dump_ops_in_flight", admin_ops_hook,
|
||||
|
Loading…
Reference in New Issue
Block a user