diff --git a/inventory_provider/tasks/worker.py b/inventory_provider/tasks/worker.py index deb983a6e63506aac48ca3c74e783d6fc8c3d334..ce02225c624c366985ae4c30f046146151d1b0f5 100644 --- a/inventory_provider/tasks/worker.py +++ b/inventory_provider/tasks/worker.py @@ -472,7 +472,6 @@ def update_circuit_hierarchy_and_port_id_services(self, use_current=False): locations = {k: v for k, v in ims_data.get_node_locations(ds1)} tls_names = list(ims_data.get_service_types(ds1)) - customer_contacts = ims_data.get_customer_service_emails(ds1) hierarchy = None port_id_details = defaultdict(list) port_id_services = defaultdict(list) @@ -573,11 +572,7 @@ def update_circuit_hierarchy_and_port_id_services(self, use_current=False): 'name': c['name'], 'status': c['status'], 'circuit_type': 'service', - 'project': c['project'], - 'contacts': customer_contacts.get( - circ['customerid'], - [] - ) + 'project': c['project'] } elif c['sub-circuits']: for sub in c['sub-circuits']: