mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Merge pull request #5919 from AlanCoding/good_projects
Fail early processing project factory Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
98dc6179f5
@ -112,7 +112,8 @@ class Project(HasCopy, HasCreate, HasNotifications, UnifiedJobTemplate):
|
||||
self.update_identity(Projects(self.connection).post(payload))
|
||||
|
||||
if kwargs.get('wait', True):
|
||||
self.related.current_update.get().wait_until_completed()
|
||||
update = self.related.current_update.get()
|
||||
update.wait_until_completed().assert_successful()
|
||||
return self.get()
|
||||
|
||||
return self
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user