fixes to only running

This commit is contained in:
Amir Raminfar
2025-02-22 14:08:46 -08:00
parent 088d7ac6d4
commit cf29bcdc0d
+3 -1
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()