MCPcopy Create free account
hub / github.com/acl-dev/acl / test_slaves

Function test_slaves

lib_acl_cpp/samples/redis/redis_cluster/redis_cluster.cpp:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static bool test_slaves(acl::redis_cluster& redis, const char* node)
73{
74 const std::vector<acl::redis_node*>* slaves = redis.cluster_slaves(node);
75 if (slaves == NULL)
76 return false;
77
78 print_slave_nodes(*slaves);
79 return true;
80}
81
82static bool test_info(acl::redis_cluster& redis)
83{

Callers 1

mainFunction · 0.85

Calls 2

print_slave_nodesFunction · 0.85
cluster_slavesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…