mirror of
https://github.com/amir20/dozzle.git
synced 2026-06-23 04:10:12 +00:00
fixes to only running
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user