Wednesday, 9 January
2008
Wed, 9 Jan
'08
5:09 a.m.
# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1199880496 -3600
# Node ID 35a3c6dc22e139c28360611f4363a2c8ec9bab11
# Parent ae476a5a5ab9891f4fbd3591e4175173f6b55c8b
getInstance of RASD returns FAILED in case of NOT_FOUND
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r ae476a5a5ab9 -r 35a3c6dc22e1 src/Virt_RASD.c
--- a/src/Virt_RASD.c Wed Jan 09 13:08:15 2008 +0100
+++ b/src/Virt_RASD.c Wed Jan 09 13:08:16 2008 +0100
@@ -294,8 +294,8 @@ static CMPIStatus GetInstance(CMPIInstan
CMReturnInstance(results, inst);
else
cu_statusf(_BROKER, &s,
- CMPI_RC_ERR_FAILED,
- "Unknown instance");
+ CMPI_RC_ERR_NOT_FOUND,
+ "No such instance (%s)", id);
out:
return s;
}