Skip to content
Snippets Groups Projects
Commit 26d11266 authored by Robert Latta's avatar Robert Latta
Browse files

corrrected typo and renamed functions

parent b6ab9ecc
Branches
Tags
No related merge requests found
......@@ -22,8 +22,8 @@ def flushdb():
@routes.route("update-interfaces-to-services", methods=['GET', 'POST'])
def update_interfaces_to_services_ims_route():
worker.update_interfaces_to_services_ims.delay(use_current=True)
def update_interfaces_to_services_route():
worker.update_interfaces_to_services.delay(use_current=True)
return Response('OK')
......
......@@ -453,7 +453,7 @@ def internal_refresh_phase_2(self):
subtasks = [
update_circuit_hierarchy.apply_async(),
update_interfaces_to_services_ims.apply_asynch(),
update_interfaces_to_services.apply_async(),
import_unmanaged_interfaces.apply_async()
]
......@@ -505,7 +505,7 @@ def update_fibre_spans(self, use_current=False):
@app.task(
base=InventoryTask, bind=True, name='update_interfaces_to_services_ims')
@log_task_entry_and_exit
def update_interfaces_to_services_ims(self, use_current=False):
def update_interfaces_to_services(self, use_current=False):
port_id_services = defaultdict(list)
c = InventoryTask.config["ims"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment