# HG changeset patch
# User Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
# Date 1238653874 10800
# Node ID 2f4943568299ef76e285e34412ec5ba5f2badbd7
# Parent 3dff43d9b55fdd8b684370a5e1de61640924d63e
This patch removes the error throwed when volume info cannot be extracted in the disk
template generation
If volume information is not available, only a CU_DEBUG message should be generated.
Signed-off-by: Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
diff -r 3dff43d9b55f -r 2f4943568299 src/Virt_SettingsDefineCapabilities.c
--- a/src/Virt_SettingsDefineCapabilities.c Tue Mar 31 14:25:53 2009 -0700
+++ b/src/Virt_SettingsDefineCapabilities.c Thu Apr 02 03:31:14 2009 -0300
@@ -846,10 +846,7 @@
ret = virStorageVolGetInfo(volume_ptr, &vol_info);
if (ret == -1) {
- virt_set_status(_BROKER, &s,
- CMPI_RC_ERR_FAILED,
- virStorageVolGetConnect(volume_ptr),
- "Unable to get volume information");
+ CU_DEBUG("Unable to get volume information");
goto out;
}