Slave removal: SLAVEOF -> REPLICAOF. SLAVEOF is now an alias.

This commit is contained in:
antirez
2018-09-10 10:43:39 +02:00
parent 14629278e3
commit ef2c7a5bbb
3 changed files with 4 additions and 3 deletions

View File

@ -1997,7 +1997,7 @@ void replicationHandleMasterDisconnection(void) {
* the slaves only if we'll have to do a full resync with our master. */
}
void slaveofCommand(client *c) {
void replicaofCommand(client *c) {
/* SLAVEOF is not allowed in cluster mode as replication is automatically
* configured using the current address of the master node. */
if (server.cluster_enabled) {