You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2014/09/25 17:19:28 UTC

[02/10] git commit: updated refs/heads/master to 410092b

CID-1223274: Remove dead local storage code from VolumeApiServiceImpl

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/60e492ae
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/60e492ae
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/60e492ae

Branch: refs/heads/master
Commit: 60e492aeb9a9ea53f6e741ec6718c618a9b27aeb
Parents: e70f75d
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Thu Sep 25 16:43:48 2014 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Thu Sep 25 16:43:48 2014 +0200

----------------------------------------------------------------------
 server/src/com/cloud/storage/VolumeApiServiceImpl.java | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/60e492ae/server/src/com/cloud/storage/VolumeApiServiceImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/storage/VolumeApiServiceImpl.java b/server/src/com/cloud/storage/VolumeApiServiceImpl.java
index cf18555..8ccede7 100644
--- a/server/src/com/cloud/storage/VolumeApiServiceImpl.java
+++ b/server/src/com/cloud/storage/VolumeApiServiceImpl.java
@@ -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);