From 16ad7a7e92adb7fff3a5da5cf302f7f24e11889b Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Mon, 9 Nov 2009 15:43:53 -0800 Subject: [PATCH] auth: don't display auth incrementals in the ceph tool --- src/ceph.cc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/ceph.cc b/src/ceph.cc index 734154bd9efe1..e711c228fd640 100644 --- a/src/ceph.cc +++ b/src/ceph.cc @@ -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::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; } -- 2.39.5