mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
mon/MonMap: calc_addr_mons() after setting rank addrvec
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
2483b774f2
commit
5f0fc0a091
@ -351,6 +351,7 @@ public:
|
||||
void set_addrvec(const string& n, const entity_addrvec_t& a) {
|
||||
ceph_assert(mon_info.count(n));
|
||||
mon_info[n].public_addrs = a;
|
||||
calc_addr_mons();
|
||||
}
|
||||
|
||||
void encode(bufferlist& blist, uint64_t con_features) const;
|
||||
|
Loading…
Reference in New Issue
Block a user