]> git.apps.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>
Tue, 18 Oct 2016 02:49:42 +0000 (10:49 +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>
(cherry picked from commit 19ef4f16b3aba04119ac647cd6261c74a57ce829)

src/mon/AuthMonitor.h

index 442029027183bca7653af7cfff2aeadf5962977c..e4a6bb6df40380bf1483af665af518e054887841 100644 (file)
@@ -35,11 +35,11 @@ class KeyRing;
 #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;