hardware: add fixme to why FspYh explicitly raises cleared alarm
Change-Id: Ifb2edce6a2b0a282ee96a023f6c4ef12e4124d94
diff --git a/src/ietf-hardware/FspYh.cpp b/src/ietf-hardware/FspYh.cpp
index e765a68..10fffcd 100644
--- a/src/ietf-hardware/FspYh.cpp
+++ b/src/ietf-hardware/FspYh.cpp
@@ -210,6 +210,10 @@
}
}
+ /*
+ * FIXME: this is here for the Sysrepo wrapper; it will pick up that the PSU is connected and will add alarm inventory entry
+ * We should refactor the whole alarm code so we do not have to create hacks like this.
+ */
res.sideLoadedAlarms.insert({ALARM_SENSOR_MISSING, componentXPath, "cleared", missingAlarmDescription()});
return res;
}