mon/MonMap: calc_addr_mons() after setting rank addrvec

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2019-01-08 14:31:13 -06:00
parent 2483b774f2
commit 5f0fc0a091

View File

@ -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;