| 133 | } |
| 134 | |
| 135 | comm::RetCode StoreConfig::GetStoreByAddr(const comm::proto::Addr &addr, std::shared_ptr<const proto::Store> &store) const { |
| 136 | comm::RetCode ret; |
| 137 | |
| 138 | int store_id; |
| 139 | if (comm::RetCode::RET_OK != (ret = GetStoreIDByAddr(addr, store_id))) return ret; |
| 140 | return GetStoreByStoreID(store_id, store); |
| 141 | } |
| 142 | |
| 143 | |
| 144 | } // namespace config |
no outgoing calls