mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
add host_status_counts to adhoc command event
This commit is contained in:
@@ -607,6 +607,9 @@ class BaseCommandEvent(CreatedModifiedModel):
|
||||
'''
|
||||
return self.event
|
||||
|
||||
def get_host_status_counts(self):
|
||||
return create_host_status_counts(getattr(self, 'event_data', {}))
|
||||
|
||||
|
||||
class AdHocCommandEvent(BaseCommandEvent):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user