Skip to content

Commit 60e492a

Browse files
committed
CID-1223274: Remove dead local storage code from VolumeApiServiceImpl
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent e70f75d commit 60e492a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

server/src/com/cloud/storage/VolumeApiServiceImpl.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,6 @@ private boolean validateVolume(Account caller, long ownerId, Long zoneId, String
291291
throw new IllegalArgumentException("Image format is incorrect " + format + ". Supported formats are " + EnumUtils.listValues(ImageFormat.values()));
292292
}
293293

294-
String userSpecifiedName = volumeName;
295-
if (userSpecifiedName == null) {
296-
userSpecifiedName = getRandomVolumeName();
297-
}
298-
299294
UriUtils.validateUrl(format, url);
300295

301296

0 commit comments

Comments
 (0)