| 10 | } |
| 11 | |
| 12 | bool redis_util::get_node_id(const char* addr, acl::string& node_id, |
| 13 | const char* passwd) |
| 14 | { |
| 15 | acl::redis_client client(addr); |
| 16 | if (passwd && *passwd) { |
| 17 | client.set_password(passwd); |
| 18 | } |
| 19 | acl::redis redis(&client); |
| 20 | return get_node_id(redis, node_id); |
| 21 | } |
| 22 | |
| 23 | bool redis_util::get_node_id(acl::redis& redis, acl::string& node_id) |
| 24 | { |
nothing calls this directly
no test coverage detected