Skip to content

Commit 75f0712

Browse files
committed
Fix typo in error reporting in graceful shutdown test
1 parent ee309ce commit 75f0712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/master/graceful_shutdown_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ func TestGracefulShutdown(t *testing.T) {
9292
}
9393
body.Close()
9494
respErr := <-respErrCh
95-
if err != nil {
96-
t.Fatal(err)
95+
if respErr.err != nil {
96+
t.Fatal(respErr.err)
9797
}
9898
defer respErr.resp.Body.Close()
9999
bs, err := ioutil.ReadAll(respErr.resp.Body)

0 commit comments

Comments
 (0)