mirror of
https://github.com/happyfish100/fastdfs-client-java.git
synced 2026-09-20 12:19:00 +00:00
bugfixed: loadStorageServersFromTracker correctly with rw option
This commit is contained in:
@@ -106,7 +106,7 @@ public class ClientGlobal {
|
||||
String[] ipAddresses = new String[lines.length];
|
||||
for (String line : lines) {
|
||||
String[] cols = line.split(" ");
|
||||
if (cols.length != 3) {
|
||||
if (!(cols.length == 3 || cols.length == 4)) {
|
||||
throw new MyException("invalid line: " + line);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user