mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 09:07:45 -02:30
Only create partitions for regular jobs
This commit is contained in:
@@ -262,6 +262,9 @@ class TaskManager:
|
||||
return
|
||||
|
||||
# Before task leaves pending state, ensure that job_event partitions exist
|
||||
# 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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user