mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
bug 10831: replace "//" with '/'
status 10831: resolved fixed
This commit is contained in:
parent
4808e597bf
commit
24f7991a70
@ -5238,9 +5238,9 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
||||
Map<String, String> deviceConfig = new HashMap<String, String>();
|
||||
String path = uri.getPath();
|
||||
path = path.replace("//", "/");
|
||||
deviceConfig.put("location", uri.getHost() + ":" + uri.getPath());
|
||||
deviceConfig.put("location", uri.getHost() + ":" + path);
|
||||
Host host = Host.getByUuid(conn, _host.uuid);
|
||||
SR sr = SR.create(conn, host, deviceConfig, new Long(0), uri.getHost() + uri.getPath(), "iso", "iso", "iso", shared, new HashMap<String, String>());
|
||||
SR sr = SR.create(conn, host, deviceConfig, new Long(0), uri.getHost() + path, "iso", "iso", "iso", shared, new HashMap<String, String>());
|
||||
sr.setNameLabel(conn, vmName + "-ISO");
|
||||
sr.setNameDescription(conn, deviceConfig.get("location"));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user