Fix a bug where listing the unified job fields did not include the

'launch_type' parameter, causing failing unit tests
This commit is contained in:
Matthew Jones 2014-12-01 10:23:08 -05:00
parent 47ab0fe06e
commit 91a1d8f761

View File

@ -198,7 +198,7 @@ class JobTemplate(UnifiedJobTemplate, JobOptions):
def _get_unified_job_field_names(cls):
return ['name', 'description', 'job_type', 'inventory', 'project',
'playbook', 'credential', 'cloud_credential', 'forks',
'limit', 'verbosity', 'extra_vars', 'job_tags',
'limit', 'verbosity', 'extra_vars', 'job_tags', 'launch_type',
'force_handlers', 'skip_tags', 'start_at_task']
def create_job(self, **kwargs):