Include hostname in the event data at the top level if it's available

This commit is contained in:
Matthew Jones
2014-05-02 10:34:42 -04:00
parent 5fa351040a
commit bc7567a341
3 changed files with 5 additions and 2 deletions

View File

@@ -479,6 +479,9 @@ class JobEvent(CreatedModifiedModel):
on_delete=models.SET_NULL,
editable=False,
)
host_name = models.CharField(
max_length=1024,
default='')
hosts = models.ManyToManyField(
'Host',
related_name='job_events',