Fix validator: Remove Health UnavailableOffline
Health can be 1 of 3 values: OK, Warning, and Critical.
State can be 1 of 12 values including Absent, Enabled, and
UnavailableOffline.
Since we already set State to Absent above, removed the else.
Tested: None
Change-Id: I0c93af33b6eb179b9eb96202fbd0088bc8a8f965
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/redfish-core/lib/cpudimm.hpp b/redfish-core/lib/cpudimm.hpp
index 31db746..e670037 100644
--- a/redfish-core/lib/cpudimm.hpp
+++ b/redfish-core/lib/cpudimm.hpp
@@ -402,10 +402,6 @@
{
health = "Critical";
}
- else
- {
- health = "UnavailableOffline";
- }
}
aResp->res.jsonValue["Status"]["State"] = state;