Commit 6c390c0b authored by antirez's avatar antirez
Browse files

minor change with no actual effects til the loading node config code is in place

parent ef21ab96
......@@ -94,9 +94,9 @@ void clusterInit(void) {
* by the createClusterNode() function. */
redisLog(REDIS_NOTICE,"No cluster configuration found, I'm %.40s",
server.cluster.myself->name);
clusterAddNode(server.cluster.myself);
saveconf = 1;
}
clusterAddNode(server.cluster.myself);
if (saveconf) clusterSaveConfigOrDie();
/* We need a listening TCP port for our cluster messaging needs */
server.cfd = anetTcpServer(server.neterr,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment