1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00

fixes to only running

This commit is contained in:
Amir Raminfar
2025-02-22 14:08:46 -08:00
parent 088d7ac6d4
commit cf29bcdc0d

View File

@@ -101,7 +101,9 @@ func (v *VictoriaIngestor) Start(ctx context.Context) error {
}
for _, c := range containers {
go v.streamLogs(ctx, c)
if c.State == "running" {
go v.streamLogs(ctx, c)
}
}
<-ctx.Done()