volume路径为空时,修改

web_backend_develope
chenlw 9 years ago
parent 312eeeecda
commit 83a10a1f45

@ -84,11 +84,13 @@ public class ThreadVolume extends Thread {
List<String> path = volumeInfo
.getVolumeMountPoint(volumeName);
// 默认加载第一个路径
if (null != path) {
for (String one : path) {
if (!one.contains("df")) {
volume.setPath(one);
}
}
}
if (null == volume.getPath()) {
volume.setPath("");
}

Loading…
Cancel
Save