fix: trim host

This commit is contained in:
tanyawen
2019-12-30 18:28:00 +08:00
parent 4387b89026
commit 1b99e59cf7
2 changed files with 2 additions and 2 deletions
@@ -63,7 +63,7 @@ public class ConnectionPool {
if (socketAddress == null) {
return null;
}
return String.format("%s:%s", socketAddress.getHostName().trim(), socketAddress.getPort());
return String.format("%s:%s", socketAddress.getHostName(), socketAddress.getPort());
}
@Override