Skip to content

Commit 8b9fe89

Browse files
jhrotkoglours
authored andcommitted
After container restart register printer consumer
Signed-off-by: Joana Hrotko <[email protected]>
1 parent 34b1819 commit 8b9fe89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/compose/printer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (p *printer) Run(cascade api.Cascade, exitCodeFrom string, stopFn func() er
9898
case api.UserCancel:
9999
aborting = true
100100
case api.ContainerEventAttach:
101-
if _, ok := containers[id]; ok {
101+
if attached, ok := containers[id]; ok && attached {
102102
continue
103103
}
104104
containers[id] = true

0 commit comments

Comments
 (0)