summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-07-27 15:08:58 +0200
committerantirez <antirez@gmail.com>2015-07-27 15:08:58 +0200
commit02b1d5213da7c05605766bbbc33a0cdefb359b99 (patch)
treeacc9167c7c5aa34b95859842cbbc57b217498424
parent3325a9b11f9761aaee5f7993b555be44e3d51342 (diff)
downloadredis-02b1d5213da7c05605766bbbc33a0cdefb359b99.tar.gz
RDMF: use representClusterNodeFlags() generic name.
-rw-r--r--src/cluster.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cluster.c b/src/cluster.c
index caa2271a5..4c87a456f 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -73,7 +73,7 @@ void resetManualFailover(void);
void clusterCloseAllSlots(void);
void clusterSetNodeAsMaster(clusterNode *n);
void clusterDelNode(clusterNode *delnode);
-sds representRedisNodeFlags(sds ci, uint16_t flags);
+sds representClusterNodeFlags(sds ci, uint16_t flags);
uint64_t clusterGetMaxEpoch(void);
int clusterBumpConfigEpochWithoutConsensus(void);
@@ -1303,7 +1303,7 @@ void clusterProcessGossipSection(clusterMsg *hdr, clusterLink *link) {
clusterNode *node;
sds ci;
- ci = representRedisNodeFlags(sdsempty(), flags);
+ ci = representClusterNodeFlags(sdsempty(), flags);
serverLog(LL_DEBUG,"GOSSIP %.40s %s:%d %s",
g->nodename,
g->ip,
@@ -3605,7 +3605,7 @@ static struct redisNodeFlags redisNodeFlagsTable[] = {
/* Concatenate the comma separated list of node flags to the given SDS
* string 'ci'. */
-sds representRedisNodeFlags(sds ci, uint16_t flags) {
+sds representClusterNodeFlags(sds ci, uint16_t flags) {
if (flags == 0) {
ci = sdscat(ci,"noflags,");
} else {
@@ -3634,7 +3634,7 @@ sds clusterGenNodeDescription(clusterNode *node) {
node->port);
/* Flags */
- ci = representRedisNodeFlags(ci, node->flags);
+ ci = representClusterNodeFlags(ci, node->flags);
/* Slave of... or just "-" */
if (node->slaveof)