mirror of https://github.com/apache/cloudstack.git
bug 14024: apply sweller's patch. status 14024: resovled fixed; Reviewed-by: sweller
This commit is contained in:
parent
1945c70805
commit
04312dabc4
|
|
@ -245,9 +245,11 @@ public class LibvirtStorageAdaptor implements StorageAdaptor {
|
|||
String host, String path) {
|
||||
|
||||
String volgroupPath = "/dev/" + path;
|
||||
String volgroupName = path;
|
||||
volgroupName = volgroupName.replaceFirst("/", "");
|
||||
|
||||
LibvirtStoragePoolDef spd = new LibvirtStoragePoolDef(poolType.LOGICAL,
|
||||
uuid, uuid, host, volgroupPath, volgroupPath);
|
||||
volgroupName, uuid, host, volgroupPath, volgroupPath);
|
||||
StoragePool sp = null;
|
||||
try {
|
||||
s_logger.debug(spd.toString());
|
||||
|
|
|
|||
Loading…
Reference in New Issue