]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #7418 from renhwsky/renhw-wip-monmapmonitor-cleanup
authorSage Weil <sage@redhat.com>
Sat, 30 Jan 2016 13:59:37 +0000 (08:59 -0500)
committerSage Weil <sage@redhat.com>
Sat, 30 Jan 2016 13:59:37 +0000 (08:59 -0500)
mon: some cleanup in MonmapMonitor.cc

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
1  2 
src/mon/MonmapMonitor.cc
src/mon/MonmapMonitor.h

Simple merge
index 0b5f37cc372b11b1bd4630d2c44f4978b10c8d6e,49dc5cb179e82f03a28474ea207dfff109098cb2..ecfbe1e1225941edc2c740871ea179e945e3db6e
@@@ -68,11 -68,9 +68,10 @@@ class MonmapMonitor : public PaxosServi
    bool prepare_command(MonOpRequestRef op);
  
    void get_health(list<pair<health_status_t,string> >& summary,
 -                list<pair<health_status_t,string> > *detail) const;
 +                list<pair<health_status_t,string> > *detail,
 +                CephContext *cct) const override;
  
    int get_monmap(bufferlist &bl);
-   int get_monmap(MonMap &m);
  
    /*
     * Since monitors are pretty