mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
Only create partitions for regular jobs
This commit is contained in:
@@ -262,7 +262,10 @@ class TaskManager:
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Before task leaves pending state, ensure that job_event partitions exist
|
# Before task leaves pending state, ensure that job_event partitions exist
|
||||||
create_partition()
|
# TODO: Currently, only creating partition for jobs. Drop contiditional once
|
||||||
|
# there are partitions for all job event types
|
||||||
|
if task_actual['type'] == 'job':
|
||||||
|
create_partition()
|
||||||
task.status = 'waiting'
|
task.status = 'waiting'
|
||||||
|
|
||||||
(start_status, opts) = task.pre_start()
|
(start_status, opts) = task.pre_start()
|
||||||
|
|||||||
Reference in New Issue
Block a user