Monitor - improved use of Inventory for Sensor func. state
When Monitor starts, Tach Sensors attempted to read their functional
state from inventory first. This fails on a genesis state and generates
a D-Bus exception what was previously indistinguishable from an
Inventory-service-not-running state. No functional record entries
existed for any sensors.
This change catches Inventory-offline exceptions separately from
invalid-records, so that the Inventory can be correctly established
during the genesis state.
Signed-off-by: Mike Capps <mikepcapps@gmail.com>
Change-Id: I0c4a3f0453a05859d640fa299471d33fae3ade10
1 file changed