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

changed function names

parent fd837683
No related branches found
No related tags found
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():
worker.update_interfaces_to_services.delay(use_current=True)
def update_interfaces_to_services_ims_route():
worker.update_interfaces_to_services_ims.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.apply_asynch(),
update_interfaces_to_services_ims.apply_asynch(),
import_unmanaged_interfaces.apply_async()
]
......@@ -503,9 +503,9 @@ def update_fibre_spans(self, use_current=False):
@app.task(
base=InventoryTask, bind=True, name='update_interfaces_to_services')
base=InventoryTask, bind=True, name='update_interfaces_to_services_ims')
@log_task_entry_and_exit
def update_interfaces_to_services(self, use_current=False):
def update_interfaces_to_services_ims(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.
Finish editing this message first!
Please register or to comment