mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Only create partitions for regular jobs
This commit is contained in:
parent
f259b0a71b
commit
0eb1984b22
@ -262,7 +262,10 @@ class TaskManager:
|
||||
return
|
||||
|
||||
# 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'
|
||||
|
||||
(start_status, opts) = task.pre_start()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user