]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: remove dead rotating key code from init
authorSage Weil <sage@inktank.com>
Mon, 12 Nov 2012 15:06:42 +0000 (07:06 -0800)
committerSage Weil <sage@inktank.com>
Tue, 13 Nov 2012 20:29:09 +0000 (12:29 -0800)
Ancient, dead.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OSD.cc

index d2a2a8ab05cca8b606658960467fbb2cd4c8d989..096de5a549ffeff7967e5e9ce00ffd1ace9dd457 100644 (file)
@@ -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,