Merge "Changing expected value to job_template_id"

This commit is contained in:
Zuul 2018-01-17 16:42:54 +00:00 committed by Gerrit Code Review
commit 850127ce02
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ LOG = logging.getLogger(__name__)
def execute_job(data):
# Elements common to all job types
job_templates_id = data['job_templates_id']
job_template_id = data['job_template_id']
cluster_id = data['cluster_id']
configs = data.get('job_configs', {})
interface = data.get('interface', {})
@ -49,7 +49,7 @@ def execute_job(data):
configs['job_execution_info'] = job_execution_info
job_ex_dict = {'input_id': input_id, 'output_id': output_id,
'job_id': job_templates_id, 'cluster_id': cluster_id,
'job_id': job_template_id, 'cluster_id': cluster_id,
'info': {'status': edp.JOB_STATUS_PENDING},
'job_configs': configs, 'extra': {},
'interface': interface}