]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient: drop my_addr 26449/head
authorKefu Chai <kchai@redhat.com>
Fri, 15 Feb 2019 15:11:07 +0000 (23:11 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 15 Feb 2019 15:14:32 +0000 (23:14 +0800)
commitb62520059767bbae2bd24d4edbedf3aa22eeea4c
tree439ed1fa75df5230d3c4ec1e9994c181e58b2eee
parent3e585b0e7101fdc9e0abfa5619f8fa5eb943b27c
mon/MonClient: drop my_addr

the only consumer of this member variable is MgrStandby, and MgrStandby
does have access to the messenger. so let it get the IP address
directly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mgr/MgrStandby.cc
src/mon/MonClient.cc
src/mon/MonClient.h