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