diff --git a/inventory_provider/db/ims_data.py b/inventory_provider/db/ims_data.py index 83d692ddc84685d1993f56c25dc08ccf2e2ac64a..19ec47d110472b5593ce30d753705f3089bd29a6 100644 --- a/inventory_provider/db/ims_data.py +++ b/inventory_provider/db/ims_data.py @@ -388,8 +388,7 @@ def get_node_locations(ds: IMS): pass # no alias - ignore silently for node in site['nodes']: - #[LG-46] - if node['inventorystatusid'] != InventoryStatus.IN_SERVICE.value: + if node['inventorystatusid'] in STATUSES_TO_IGNORE: continue yield (node['name'], {