From 4a0e80ffdfcfb301ab266e3b3683b822a13f42a0 Mon Sep 17 00:00:00 2001 From: Vahe Mkrtchyan Date: Thu, 23 Jul 2020 15:23:19 +0400 Subject: [PATCH] Fix freeze when container is started/stopped multiple times --- connector/collector/docker.go | 1 + 1 file changed, 1 insertion(+) diff --git a/connector/collector/docker.go b/connector/collector/docker.go index b2377ee..058ad90 100644 --- a/connector/collector/docker.go +++ b/connector/collector/docker.go @@ -74,6 +74,7 @@ func (c *Docker) Logs() LogCollector { // Stop collector func (c *Docker) Stop() { + c.running = false c.done <- true }