mirror of https://github.com/apache/cloudstack.git
Fix ExtractVolume bug in generating URL.
This commit is contained in:
parent
7ffb6d8464
commit
d5050d3157
|
|
@ -286,7 +286,7 @@ public class UploadMonitorImpl extends ManagerBase implements UploadMonitor {
|
|||
throw new CloudRuntimeException(errorString);
|
||||
}
|
||||
|
||||
CreateEntityDownloadURLCommand cmd = new CreateEntityDownloadURLCommand(((ImageStoreVO)secStore).getParent(), path, uuid);
|
||||
CreateEntityDownloadURLCommand cmd = new CreateEntityDownloadURLCommand(((ImageStoreEntity)secStore).getMountPoint(), path, uuid);
|
||||
Answer ans = ep.sendMessage(cmd);
|
||||
if (ans == null || !ans.getResult()) {
|
||||
errorString = "Unable to create a link for " +type+ " id:"+entityId + "," + ans.getDetails();
|
||||
|
|
|
|||
Loading…
Reference in New Issue