| 5573 | } |
| 5574 | |
| 5575 | static void clusterManagerPrintNotEmptyNodeError(clusterManagerNode *node, |
| 5576 | char *err) |
| 5577 | { |
| 5578 | char *msg; |
| 5579 | if (err) msg = err; |
| 5580 | else { |
| 5581 | msg = "is not empty. Either the node already knows other " |
| 5582 | "nodes (check with CLUSTER NODES) or contains some " |
| 5583 | "key in database 0."; |
| 5584 | } |
| 5585 | clusterManagerLogErr("[ERR] Node %s:%d %s\n", node->ip, node->port, msg); |
| 5586 | } |
| 5587 | |
| 5588 | static void clusterManagerPrintNotClusterNodeError(clusterManagerNode *node, |
| 5589 | char *err) |
no outgoing calls
no test coverage detected