Home
last modified time | relevance | path

Searched hist:"9 ac325c59511fca0e8fc35b0fb575942d42c74df" (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dinit.cppdiff 9ac325c59511fca0e8fc35b0fb575942d42c74df Mon Apr 25 14:13:49 CDT 2022 Matt Spinler <spinler@us.ibm.com> control: Let Manager::addObjects() take a service

When calling Manager::addObjects(), pass in the service of the object,
if known, so that addObjects() can use that service to call
getManagedObjects() with and add objects to the cache even if the
D-Bus path passed in doesn't exist.

This fixes a bug where if the path doesn't exist, that function won't
add anything at all, even though getProperties() in init.cpp was
depending on it doing that so that it only needed to call addObjects()
once per group as a performance enhancement.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I971a244d665d3aaf493c3d03e7a4fec87e7e512d
/openbmc/phosphor-fan-presence/control/json/
H A Dmanager.hppdiff 9ac325c59511fca0e8fc35b0fb575942d42c74df Mon Apr 25 14:13:49 CDT 2022 Matt Spinler <spinler@us.ibm.com> control: Let Manager::addObjects() take a service

When calling Manager::addObjects(), pass in the service of the object,
if known, so that addObjects() can use that service to call
getManagedObjects() with and add objects to the cache even if the
D-Bus path passed in doesn't exist.

This fixes a bug where if the path doesn't exist, that function won't
add anything at all, even though getProperties() in init.cpp was
depending on it doing that so that it only needed to call addObjects()
once per group as a performance enhancement.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I971a244d665d3aaf493c3d03e7a4fec87e7e512d
H A Dmanager.cppdiff 9ac325c59511fca0e8fc35b0fb575942d42c74df Mon Apr 25 14:13:49 CDT 2022 Matt Spinler <spinler@us.ibm.com> control: Let Manager::addObjects() take a service

When calling Manager::addObjects(), pass in the service of the object,
if known, so that addObjects() can use that service to call
getManagedObjects() with and add objects to the cache even if the
D-Bus path passed in doesn't exist.

This fixes a bug where if the path doesn't exist, that function won't
add anything at all, even though getProperties() in init.cpp was
depending on it doing that so that it only needed to call addObjects()
once per group as a performance enhancement.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I971a244d665d3aaf493c3d03e7a4fec87e7e512d