bug 13556: return error if libvirt can't mount storage

status 13556: resolved fixed
Reviewed-by: anthony@citrix.com
This commit is contained in:
Edison Su 2012-02-08 19:57:26 -08:00
parent 32fa3cd996
commit 08987f0f22
1 changed files with 2 additions and 1 deletions

View File

@ -361,7 +361,8 @@ public class LibvirtStorageResource {
sp.create(0);
}
} catch (LibvirtException e) {
s_logger.debug("Failed to create storage pool: " + e.toString());
return null;
}
if (spt.getType() == StoragePoolType.NetworkFilesystem) {