|
@@ -80,7 +80,9 @@ func (s *composeService) attachContainerStreams(ctx context.Context, container m
|
|
|
go func() {
|
|
go func() {
|
|
|
<-ctx.Done()
|
|
<-ctx.Done()
|
|
|
stdout.Close() //nolint:errcheck
|
|
stdout.Close() //nolint:errcheck
|
|
|
- stdin.Close() //nolint:errcheck
|
|
|
|
|
|
|
+ if stdin != nil {
|
|
|
|
|
+ stdin.Close() //nolint:errcheck
|
|
|
|
|
+ }
|
|
|
}()
|
|
}()
|
|
|
|
|
|
|
|
if r != nil && stdin != nil {
|
|
if r != nil && stdin != nil {
|