| 53 | } |
| 54 | |
| 55 | string AddrToString(const proto::Addr &addr) { |
| 56 | return addr.ip() + ":" + to_string(addr.port()) + ":" + to_string(addr.paxos_port()); |
| 57 | } |
| 58 | |
| 59 | string AddrScaleToString(const proto::AddrScale &addr_scale) { |
| 60 | return AddrToString(addr_scale.addr()) + "@" + to_string(addr_scale.scale()); |
no outgoing calls
no test coverage detected