mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Leave another TODO on the job runner, fix a misspelling on the project update hook
This commit is contained in:
parent
d4426d88c4
commit
6f069f6ff0
@ -342,6 +342,7 @@ class Job(CommonTask):
|
||||
opts = dict([(field, kwargs.get(field, '')) for field in needed])
|
||||
if not all(opts.values()):
|
||||
return False
|
||||
# TODO: This is temporary to allow a dependent task to continue
|
||||
self.status = 'waiting'
|
||||
self.save(update_fields=['status'])
|
||||
transaction.commit()
|
||||
|
@ -286,7 +286,7 @@ class Project(CommonModel):
|
||||
if self.can_update:
|
||||
project_update = self.project_updates.create()
|
||||
project_update_sig = project_update.start_signature()
|
||||
return (project_update, project_updaate_sig)
|
||||
return (project_update, project_update_sig)
|
||||
|
||||
def update(self, **kwargs):
|
||||
if self.can_update:
|
||||
|
Loading…
Reference in New Issue
Block a user