| 87 | } |
| 88 | |
| 89 | void mon_info_t::decode(ceph::buffer::list::const_iterator& p) |
| 90 | { |
| 91 | DECODE_START(6, p); |
| 92 | decode(name, p); |
| 93 | decode(public_addrs, p); |
| 94 | if (struct_v >= 2) { |
| 95 | decode(priority, p); |
| 96 | } |
| 97 | if (struct_v >= 4) { |
| 98 | decode(weight, p); |
| 99 | } |
| 100 | if (struct_v >= 5) { |
| 101 | decode(crush_loc, p); |
| 102 | } |
| 103 | if (struct_v >= 6) { |
| 104 | decode(time_added, p); |
| 105 | } |
| 106 | DECODE_FINISH(p); |
| 107 | } |
| 108 | |
| 109 | void mon_info_t::print(ostream& out) const |
| 110 | { |
nothing calls this directly
no test coverage detected