repl_offset field in INFO replication is now just offset.

This commit is contained in:
antirez 2013-05-29 19:56:33 +02:00
parent 37c29e037b
commit 888400ebd5

View File

@ -2344,7 +2344,7 @@ sds genRedisInfoString(char *section) {
info = sdscatprintf(info,
"slave%d:ip=%s,port=%d,state=%s,"
"repl_offset=%lld,lag=%ld\r\n",
"offset=%lld,lag=%ld\r\n",
slaveid,ip,slave->slave_listening_port,state,
slave->repl_ack_off, lag);
slaveid++;