HBASE-27899 Beautify the output information of the getStats method in ReplicationSource (#5269)

Signed-off-by: 874645213@qq.com <jiancong123~>
Co-authored-by: 874645213@qq.com <jiancong123~>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 3df01ea9b6)
This commit is contained in:
Jack-cc 2023-06-06 22:19:55 +08:00 committed by Duo Zhang
parent 61a876f5a9
commit e3e6f4ceea
1 changed files with 1 additions and 1 deletions

View File

@ -784,7 +784,7 @@ public class ReplicationSource implements ReplicationSourceInterface {
sb.append("currently replicating from: ").append(currentPath).append(" at position: ")
.append(position).append("\n");
} else {
sb.append("no replication ongoing, waiting for new log");
sb.append("no replication ongoing, waiting for new log").append("\n");
}
}
return sb.toString();