不包括volumeName时,不删除

web_backend_develope
chenlw 9 years ago
parent cda6e4fd0c
commit c50abd9839

@ -108,7 +108,7 @@ public class SetVolume {
List<String> volumeNames = volumeInfo.showAllVolumeName(); List<String> volumeNames = volumeInfo.showAllVolumeName();
if (!volumeNames.contains(volumeName)) { if (!volumeNames.contains(volumeName)) {
log.error("3801 " + volumeName + " is not exists !"); log.error("3801 " + volumeName + " is not exists !");
// return -1; return -1;
} }
List<String> mountPoints = volumeInfo.getVolumeMountPoint(volumeName); List<String> mountPoints = volumeInfo.getVolumeMountPoint(volumeName);

Loading…
Cancel
Save