Skip to content

Commit

Permalink
Fix vet
Browse files Browse the repository at this point in the history
  • Loading branch information
arjan-bal committed Oct 16, 2024
1 parent 6697267 commit 67f7a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions balancer/pickfirst/pickfirstleaf/pickfirstleaf_ext_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1255,11 +1255,11 @@ func newHangingServerGroup(t *testing.T, count int) *handingServerGroup {

go func() {
conn, err := lis.Accept()
defer conn.Close()
if err != nil {
t.Error(err)
return
}
defer conn.Close()

contacted.Fire()

Expand All @@ -1270,7 +1270,7 @@ func newHangingServerGroup(t *testing.T, count int) *handingServerGroup {
case <-readyChan:
framer := http2.NewFramer(conn, conn)
if err := framer.WriteSettings(http2.Setting{}); err != nil {
t.Fatalf("Error while writing settings frame. %v", err)
t.Errorf("Error while writing settings frame. %v", err)
return
}

Expand Down

0 comments on commit 67f7a1a

Please sign in to comment.