]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/MonMap: remove addr-based add()
authorSage Weil <sage@redhat.com>
Fri, 13 Jul 2018 16:27:02 +0000 (11:27 -0500)
committerSage Weil <sage@redhat.com>
Fri, 21 Dec 2018 21:31:32 +0000 (15:31 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MonMap.h

index 8486890c658aa6f6ecf77797d311a36f532837c3..f1c76c7a36690e57d2520011b829eafa008045ba 100644 (file)
@@ -350,9 +350,6 @@ public:
     ceph_assert(mon_info.count(n));
     mon_info[n].public_addrs = entity_addrvec_t(a);
   }
-  void add(const string &name, const entity_addr_t &a) {
-    add(name, entity_addrvec_t(a));
-  }
   // </REMOVE ME>
 
   const entity_addrvec_t& get_addrs(const string& n) const {