Skip to content

Commit 127eb1a

Browse files
committed
Do not show err when log comes from container that is stopped
1 parent 0587cb1 commit 127eb1a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/logstream/logstream.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -787,11 +787,6 @@ func (g *ContainerLogConsumer) Accept(l tc.Log) {
787787
}
788788

789789
if g.isDone {
790-
g.ls.log.Error().
791-
Str("Test", g.ls.testName).
792-
Str("Container", g.name).
793-
Str("Log", string(l.Content)).
794-
Msg("Consumer has finished, but you are still trying to accept logs. This should never happen")
795790
return
796791
}
797792

0 commit comments

Comments
 (0)