From 982c04f108e6e72d66ee62f011b87a0590e250b0 Mon Sep 17 00:00:00 2001 From: Robert Latta <robert.latta@geant.org> Date: Tue, 13 Apr 2021 12:59:50 +0000 Subject: [PATCH] removed erroneous code --- inventory_provider/tasks/worker.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/inventory_provider/tasks/worker.py b/inventory_provider/tasks/worker.py index deb983a6..ce02225c 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']: -- GitLab