bug 14024: apply sweller's patch. status 14024: resovled fixed; Reviewed-by: sweller

This commit is contained in:
Edison Su 2012-03-23 17:57:07 -07:00
parent 1945c70805
commit 04312dabc4
1 changed files with 3 additions and 1 deletions

View File

@ -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());