Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gitaly/hook/sidechannel_test.go')
-rw-r--r--internal/gitaly/hook/sidechannel_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/gitaly/hook/sidechannel_test.go b/internal/gitaly/hook/sidechannel_test.go
index b142f1014..45341322d 100644
--- a/internal/gitaly/hook/sidechannel_test.go
+++ b/internal/gitaly/hook/sidechannel_test.go
@@ -3,7 +3,6 @@ package hook
import (
"context"
"io"
- "io/ioutil"
"net"
"testing"
@@ -30,7 +29,7 @@ func TestSidechannel(t *testing.T) {
require.NoError(t, err)
defer c.Close()
- buf, err := ioutil.ReadAll(c)
+ buf, err := io.ReadAll(c)
require.NoError(t, err)
require.Equal(t, "ping", string(buf))