mirror of
https://github.com/happyfish100/fastdfs-client-java.git
synced 2026-09-22 14:09:27 +00:00
fix: trim host
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user