We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 872fd75 commit 91bd4d6Copy full SHA for 91bd4d6
lib/logstream/logstream.go
@@ -478,10 +478,12 @@ func (m *LogStream) DisconnectContainer(container LogProducingContainer) error {
478
m.log.Info().Str("Container", container.GetContainerID()).Msg("Disconnecting container")
479
480
if container.IsRunning() {
481
- m.log.Info().Str("Container", container.GetContainerID()).Msg("Stopping log producer")
482
- err = container.StopLogProducer()
+ m.log.Info().Str("Container", container.GetContainerID()).Msg("Container is running")
483
}
484
+ m.log.Info().Str("Container", container.GetContainerID()).Msg("Stopping log producer")
485
+ err = container.StopLogProducer()
486
+
487
consumerFound := false
488
m.consumerMutex.RLock()
489
for _, consumer := range m.consumers {
0 commit comments