Use build_job_uuid for getting build job
@@ -133,7 +133,7 @@ def build_jobs_notify_done(build_job_id):
@celery_app.task(name=SchedulerCeleryTasks.BUILD_JOBS_SET_DOCKERFILE, ignore_result=True)
def build_jobs_set_dockerfile(build_job_uuid, dockerfile):
- build_job = get_valid_build_job(build_job_id=build_job_uuid)
+ build_job = get_valid_build_job(build_job_uuid=build_job_uuid)
if not build_job:
_logger.info('Something went wrong, '
'the BuildJob `%s` does not exist anymore.', build_job_uuid)
