| 3333 | } |
| 3334 | |
| 3335 | static void clusterManagerShowNodes(void) { |
| 3336 | listIter li; |
| 3337 | listNode *ln; |
| 3338 | listRewind(cluster_manager.nodes, &li); |
| 3339 | while ((ln = listNext(&li)) != NULL) { |
| 3340 | clusterManagerNode *node = ln->value; |
| 3341 | sds info = clusterManagerNodeInfo(node, 0); |
| 3342 | printf("%s\n", (char *) info); |
| 3343 | sdsfree(info); |
| 3344 | } |
| 3345 | } |
| 3346 | |
| 3347 | static void clusterManagerShowClusterInfo(void) { |
| 3348 | int masters = 0; |
no test coverage detected