diff options
author | Valery Piashchynski <[email protected]> | 2021-03-28 14:00:54 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-03-28 14:00:54 +0300 |
commit | 2a58b1be2c79f2fe10c0a429878937661645a928 (patch) | |
tree | f3a7cd472c75c4dd2a97bcf97cb154731ed81230 /pkg/transport/pipe | |
parent | 970014530a23d57a3be41c6369ac6456d0b36ae1 (diff) |
- Fix bug with the worker reallocating during the response
- Update .golangci and fix new warnings
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/transport/pipe')
-rw-r--r-- | pkg/transport/pipe/pipe_factory_spawn_test.go | 2 | ||||
-rwxr-xr-x | pkg/transport/pipe/pipe_factory_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/transport/pipe/pipe_factory_spawn_test.go b/pkg/transport/pipe/pipe_factory_spawn_test.go index a00b2117..51befb1e 100644 --- a/pkg/transport/pipe/pipe_factory_spawn_test.go +++ b/pkg/transport/pipe/pipe_factory_spawn_test.go @@ -281,7 +281,7 @@ func Test_Echo2(t *testing.T) { assert.NoError(t, sw.Wait()) }() defer func() { - err := sw.Stop() + err = sw.Stop() if err != nil { t.Errorf("error stopping the Process: error %v", err) } diff --git a/pkg/transport/pipe/pipe_factory_test.go b/pkg/transport/pipe/pipe_factory_test.go index fb40ecb0..3ef65be8 100755 --- a/pkg/transport/pipe/pipe_factory_test.go +++ b/pkg/transport/pipe/pipe_factory_test.go @@ -299,7 +299,7 @@ func Test_Echo(t *testing.T) { assert.NoError(t, sw.Wait()) }() defer func() { - err := sw.Stop() + err = sw.Stop() if err != nil { t.Errorf("error stopping the Process: error %v", err) } |