diff --git a/inventory_provider/routes/jobs.py b/inventory_provider/routes/jobs.py index 90c59a712c8f391c95e1734502f740e106cf36a3..9a8080c87a48174a27fcc50935b585ed738961a7 100644 --- a/inventory_provider/routes/jobs.py +++ b/inventory_provider/routes/jobs.py @@ -54,7 +54,7 @@ def check_task_status(task_id): @routes.route("check-update-status", methods=['GET', 'POST']) @common.require_accepts_json -def check_update_status(task_id): +def check_update_status(): r = common.get_current_redis() task_id = r.get('classifier-cache:update-task-id') if not task_id: