summaryrefslogtreecommitdiff
path: root/pkg/transport/pipe/pipe_factory.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-30 16:04:55 +0300
committerValery Piashchynski <[email protected]>2021-04-30 16:04:55 +0300
commit556477ca9df3fa2e5939057861314eabe5ce30ca (patch)
tree6bab1f99aa83c794060ab4c913d5ff62fef6882d /pkg/transport/pipe/pipe_factory.go
parent5f451ffbba6b9758d61ba70ddd112a8e1570045a (diff)
- Make development log colored
- Remove old TODOs Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/transport/pipe/pipe_factory.go')
-rwxr-xr-xpkg/transport/pipe/pipe_factory.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/transport/pipe/pipe_factory.go b/pkg/transport/pipe/pipe_factory.go
index 0709413f..19f4f92d 100755
--- a/pkg/transport/pipe/pipe_factory.go
+++ b/pkg/transport/pipe/pipe_factory.go
@@ -42,7 +42,6 @@ func (f *Factory) SpawnWorkerWithTimeout(ctx context.Context, cmd *exec.Cmd, lis
return
}
- // TODO why out is in?
in, err := cmd.StdoutPipe()
if err != nil {
c <- SpawnResult{
@@ -52,7 +51,6 @@ func (f *Factory) SpawnWorkerWithTimeout(ctx context.Context, cmd *exec.Cmd, lis
return
}
- // TODO why in is out?
out, err := cmd.StdinPipe()
if err != nil {
c <- SpawnResult{
@@ -119,13 +117,11 @@ func (f *Factory) SpawnWorker(cmd *exec.Cmd, listeners ...events.Listener) (*wor
return nil, errors.E(op, err)
}
- // TODO why out is in?
in, err := cmd.StdoutPipe()
if err != nil {
return nil, errors.E(op, err)
}
- // TODO why in is out?
out, err := cmd.StdinPipe()
if err != nil {
return nil, errors.E(op, err)