File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -96,18 +96,21 @@ func (s *composeService) Logs(
96
96
ID : c .ID ,
97
97
Service : c .Labels [api .ServiceLabel ],
98
98
})
99
- err := s .logContainers (ctx , consumer , c , api.LogOptions {
100
- Follow : options .Follow ,
101
- Since : t .Format (time .RFC3339Nano ),
102
- Until : options .Until ,
103
- Tail : options .Tail ,
104
- Timestamps : options .Timestamps ,
99
+ eg .Go (func () error {
100
+ err := s .logContainers (ctx , consumer , c , api.LogOptions {
101
+ Follow : options .Follow ,
102
+ Since : t .Format (time .RFC3339Nano ),
103
+ Until : options .Until ,
104
+ Tail : options .Tail ,
105
+ Timestamps : options .Timestamps ,
106
+ })
107
+ if _ , ok := err .(errdefs.ErrNotImplemented ); ok {
108
+ // ignore
109
+ return nil
110
+ }
111
+ return err
105
112
})
106
- if _ , ok := err .(errdefs.ErrNotImplemented ); ok {
107
- // ignore
108
- return nil
109
- }
110
- return err
113
+ return nil
111
114
}, func (c types.Container , t time.Time ) error {
112
115
printer .HandleEvent (api.ContainerEvent {
113
116
Type : api .ContainerEventAttach ,
You can’t perform that action at this time.
0 commit comments