commit | d2ee98677f1a57e64476d30b755828323cb96f8a | [log] [tgz] |
---|---|---|
author | Willy Tu <wltu@google.com> | Mon Oct 18 20:23:50 2021 -0700 |
committer | Willy Tu <wltu@google.com> | Sun Oct 31 05:58:05 2021 +0000 |
tree | ff6cfa3a554211e331666debae5f994fc0f47a34 | |
parent | 1982a3fb4f8626840f123c27e3087a792c11e015 [diff] |
dbus-sdr: Remove the use of undocumented Inventory.Decorator.FruDevice Remove the use of Inventory.Decorator.FruDevice interface and use Inventory.Decorator.I2CDevice instead. https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Decorator/I2CDevice.interface.yaml The two interface serve the same purpose. Change-Id: I6c7afd3686c06e611b6e606cfd82d8dafcd65509 Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/dbus-sdr/storagecommands.cpp b/dbus-sdr/storagecommands.cpp index da60042..4910aae 100644 --- a/dbus-sdr/storagecommands.cpp +++ b/dbus-sdr/storagecommands.cpp
@@ -625,7 +625,7 @@ entities.begin(), entities.end(), [bus, address, &entityData, &name](ManagedEntry& entry) { auto findFruDevice = entry.second.find( - "xyz.openbmc_project.Inventory.Decorator.FruDevice"); + "xyz.openbmc_project.Inventory.Decorator.I2CDevice"); if (findFruDevice == entry.second.end()) { return false;