Skip to content

Commit

Permalink
But do it correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
raxod502 committed Oct 19, 2022
1 parent 9637824 commit 1ec8868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sleepingd/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func Test_Proxy_UpstreamClose(t *testing.T) {
assert.NoError(t, err)
closed := make(chan error)
go func() {
buf := []byte{}
buf := make([]byte, 1024)
for {
_, err := conn.Read(buf)
if err != nil {
Expand Down

0 comments on commit 1ec8868

Please sign in to comment.