bugfixed: loadStorageServersFromTracker correctly with rw option

This commit is contained in:
YuQing
2025-11-27 17:04:46 +08:00
parent f4c00d7b2a
commit 7b7a7d76f6
2 changed files with 4 additions and 1 deletions
@@ -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);
}