From 9a38059afa8c8094d1be7431e5c208a3e977050c Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 12 Nov 2012 07:06:42 -0800 Subject: [PATCH] osd: remove dead rotating key code from init Ancient, dead. Signed-off-by: Sage Weil --- src/osd/OSD.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index d2a2a8ab05cca..096de5a549ffe 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -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, -- 2.39.5