CID-1223274: Remove dead local storage code from VolumeApiServiceImpl

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2014-09-25 16:43:48 +02:00
parent e70f75d6ca
commit 60e492aeb9

View File

@ -291,11 +291,6 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic
throw new IllegalArgumentException("Image format is incorrect " + format + ". Supported formats are " + EnumUtils.listValues(ImageFormat.values()));
}
String userSpecifiedName = volumeName;
if (userSpecifiedName == null) {
userSpecifiedName = getRandomVolumeName();
}
UriUtils.validateUrl(format, url);