summaryrefslogtreecommitdiffstats
path: root/app/common
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2019-10-15 16:07:47 -0500
committerGunnar Mills <gmills@us.ibm.com>2019-10-17 13:38:40 +0000
commit365b80eb5dd50db8adcc0bb75cf946fecc32cb46 (patch)
tree9eff068d8d352a6a06e9bdaa0c6d20d935745553 /app/common
parent96c498a32a942243a9001837a1ebda47f2493909 (diff)
downloadphosphor-webui-365b80eb5dd50db8adcc0bb75cf946fecc32cb46.tar.gz
phosphor-webui-365b80eb5dd50db8adcc0bb75cf946fecc32cb46.zip
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>
Diffstat (limited to 'app/common')
-rw-r--r--app/common/services/api-utils.js8
1 files changed, 0 insertions, 8 deletions
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 @@ window.angular && (function(angular) {
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:
OpenPOWER on IntegriCloud