Home
last modified time | relevance | path

Searched hist:d262440dda885d8a1710ad9cedd5987a5a19701d (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-power/
H A Dutility.hppdiff d262440dda885d8a1710ad9cedd5987a5a19701d Mon Feb 03 15:35:12 CST 2020 Matthew Barth <msbarth@us.ibm.com> util: Logging error on getService optional

Make logging an error on service name lookup for a given path/interface
optional for the case where a service may not be available yet. This is
to handle the case where a service dependent on a property from another
may be started in parallel by systemd where the property would need to
be retrieved by other means (i.e. interfacesAdded signal).

Tested:
No change to current users of getService util function
No error logged when service not found

Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: Ib570b83fe2feae07031fa477f468327a7b0554b0
H A Dutility.cppdiff d262440dda885d8a1710ad9cedd5987a5a19701d Mon Feb 03 15:35:12 CST 2020 Matthew Barth <msbarth@us.ibm.com> util: Logging error on getService optional

Make logging an error on service name lookup for a given path/interface
optional for the case where a service may not be available yet. This is
to handle the case where a service dependent on a property from another
may be started in parallel by systemd where the property would need to
be retrieved by other means (i.e. interfacesAdded signal).

Tested:
No change to current users of getService util function
No error logged when service not found

Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: Ib570b83fe2feae07031fa477f468327a7b0554b0