mirror of
https://github.com/docker/compose.git
synced 2025-07-23 05:34:36 +02:00
After container restart register printer consumer
Signed-off-by: Joana Hrotko <joana.hrotko@docker.com>
This commit is contained in:
parent
34b18194f7
commit
8b9fe89842
@ -98,7 +98,7 @@ func (p *printer) Run(cascade api.Cascade, exitCodeFrom string, stopFn func() er
|
|||||||
case api.UserCancel:
|
case api.UserCancel:
|
||||||
aborting = true
|
aborting = true
|
||||||
case api.ContainerEventAttach:
|
case api.ContainerEventAttach:
|
||||||
if _, ok := containers[id]; ok {
|
if attached, ok := containers[id]; ok && attached {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
containers[id] = true
|
containers[id] = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user