mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 13:36:02 -03:30
Initial work towards the celery refactor... adjusting logic to allow building a worker chain... temporarily relax requirements on status checks
This commit is contained in:
@@ -343,7 +343,6 @@ class Job(CommonTask):
|
|||||||
opts = dict([(field, kwargs.get(field, '')) for field in needed])
|
opts = dict([(field, kwargs.get(field, '')) for field in needed])
|
||||||
if not all(opts.values()):
|
if not all(opts.values()):
|
||||||
return False
|
return False
|
||||||
# TODO: This is temporary to allow a dependent task to continue
|
|
||||||
self.status = 'waiting'
|
self.status = 'waiting'
|
||||||
self.save(update_fields=['status'])
|
self.save(update_fields=['status'])
|
||||||
transaction.commit()
|
transaction.commit()
|
||||||
|
|||||||
Reference in New Issue
Block a user