mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Merge pull request #1971 from chrismeyersfsu/fix-cached_dependency_list
do not cache dependency_list
This commit is contained in:
commit
f1083540a3
@ -234,9 +234,11 @@ class TaskManager():
|
||||
def get_dependent_jobs_for_inv_and_proj_update(self, job_obj):
|
||||
return [{'type': j.model_to_str(), 'id': j.id} for j in job_obj.dependent_jobs.all()]
|
||||
|
||||
def start_task(self, task, rampart_group, dependent_tasks=[]):
|
||||
def start_task(self, task, rampart_group, dependent_tasks=None):
|
||||
from awx.main.tasks import handle_work_error, handle_work_success
|
||||
|
||||
dependent_tasks = dependent_tasks or []
|
||||
|
||||
task_actual = {
|
||||
'type': get_type_for_model(type(task)),
|
||||
'id': task.id,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user