mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 13:23:07 +01:00
fix: fixes start event to have correct time (#4294)
This commit is contained in:
@@ -432,7 +432,7 @@ loop:
|
||||
sseWriter.Message(logEvent)
|
||||
case c := <-newContainers:
|
||||
if _, err := h.hostService.FindContainer(c.Host, c.ID, userLabels); err == nil {
|
||||
events <- &container.ContainerEvent{ActorID: c.ID, Name: "container-started", Host: c.Host}
|
||||
events <- &container.ContainerEvent{ActorID: c.ID, Name: "container-started", Host: c.Host, Time: time.Now()}
|
||||
go streamLogs(c)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user