]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/AuthMonitor: make AuthMonitor::IncType public
authorKefu Chai <kchai@redhat.com>
Wed, 31 Aug 2016 05:11:24 +0000 (13:11 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 15 Sep 2016 09:56:35 +0000 (17:56 +0800)
so ceph-objectstore-tool is able to use it when rebuilding monitor
db.

Fixes: http://tracker.ceph.com/issues/17179
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/AuthMonitor.h

index f40b5dc468022246e7b3c83d9ee53cb8ea535043..6a579f992ca9a77dd9fe5e0053c76b87bfdde5dd 100644 (file)
@@ -34,11 +34,11 @@ class Monitor;
 #define MIN_GLOBAL_ID 0x1000
 
 class AuthMonitor : public PaxosService {
+public:
   enum IncType {
     GLOBAL_ID,
     AUTH_DATA,
   };
-public:
   struct Incremental {
     IncType inc_type;
     uint64_t max_global_id;