]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
auth: don't display auth incrementals in the ceph tool
authorYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 9 Nov 2009 23:43:53 +0000 (15:43 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 9 Nov 2009 23:59:56 +0000 (15:59 -0800)
src/ceph.cc

index 734154bd9efe1be612a359d156fc6c36ec65a876..e711c228fd640338b78446923cf4dc9e34d9d67e 100644 (file)
@@ -193,25 +193,21 @@ void handle_notify(MMonObserveNotify *notify)
 
   case PAXOS_AUTH:
     {
+#if 0
       bufferlist::iterator p = notify->bl.begin();
       if (notify->is_latest) {
        KeyServerData data;
        ::decode(data, p);
        dout(0) << "   auth " << dendl;
-#if 0
-       // show the first class info
-        map<EntityName, CryptoKey>::iterator mapiter = list.keys.secrets_begin();
-       if (mapiter != list.keys.secrets_end()) {
-           dout(0) << "   auth " <<  mapiter->first.to_str() << dendl;
-       }
-#endif
       } else {
        while (!p.end()) {
-         KeyServerData::Incremental inc;
+         AuthMonitor::Incremental inc;
           inc.decode(p);
          dout(0) << "   auth " << inc.name.to_str() << dendl;
        }
       }
+#endif
+      /* ignoring auth incremental.. don't want to decode it */
       break;
     }