mirror of
https://github.com/ansible/awx.git
synced 2026-07-31 09:59:55 -02:30
add counter to jobevent object sourced from callback ansible plugin
This commit is contained in:
@@ -557,6 +557,10 @@ class JobEvent(CreatedModifiedModel):
|
||||
on_delete=models.SET_NULL,
|
||||
editable=False,
|
||||
)
|
||||
counter = models.PositiveIntegerField(
|
||||
default=0,
|
||||
)
|
||||
|
||||
|
||||
def get_absolute_url(self):
|
||||
return reverse('api:job_event_detail', args=(self.pk,))
|
||||
|
||||
Reference in New Issue
Block a user