diff options
author | Sage Weil <sage@newdream.net> | 2012-05-21 20:36:43 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2012-05-21 20:36:43 +0200 |
commit | 7b2614b5cfe124a2cfdaed5ef0a87ba628bbc518 (patch) | |
tree | a0877e6fa5a43ae2efcf3f6c1e72dd8e15c2c030 /src/mon/MonMap.cc | |
parent | monmaptool: fix clitests (diff) | |
download | ceph-7b2614b5cfe124a2cfdaed5ef0a87ba628bbc518.tar.xz ceph-7b2614b5cfe124a2cfdaed5ef0a87ba628bbc518.zip |
monmap: filter_initial_members -> set_initial_members
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/mon/MonMap.cc')
-rw-r--r-- | src/mon/MonMap.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mon/MonMap.cc b/src/mon/MonMap.cc index 60e47df779b..7773bdfbbe1 100644 --- a/src/mon/MonMap.cc +++ b/src/mon/MonMap.cc @@ -188,10 +188,10 @@ int MonMap::build_from_host_list(std::string hostlist, std::string prefix) return 0; } -void MonMap::filter_initial_members(CephContext *cct, - list<std::string>& initial_members, - string my_name, entity_addr_t my_addr, - set<entity_addr_t> *removed) +void MonMap::set_initial_members(CephContext *cct, + list<std::string>& initial_members, + string my_name, entity_addr_t my_addr, + set<entity_addr_t> *removed) { // remove non-initial members unsigned i = 0; |