Inventory: Remove old associations interface
Moved to the new associations interface here:
https://github.com/openbmc/openbmc/issues/3584
Tested: Loaded on a Witherspoon
Change-Id: I2065f0919c8cc9d9dd219a1f9d8d0fc75265fa6f
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/common/services/api-utils.js b/app/common/services/api-utils.js
index 8a1c35e..9bdb06d 100644
--- a/app/common/services/api-utils.js
+++ b/app/common/services/api-utils.js
@@ -1528,14 +1528,6 @@
delete content.data[key].Associations;
}
- // Support old Associations interface property
- // https://github.com/openbmc/phosphor-logging/blob/master/org/openbmc/Associations.interface.yaml
- // Remove when we move to new Associations interface
- // openbmc/openbmc#3584
- if (content.data[key].hasOwnProperty('associations')) {
- delete content.data[key].associations;
- }
-
// Remove the Purpose property from any inventory item.
// The purpose property isn't useful to a user.
// E.g. in a Power Supply: