mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Fix typo in error reporting in graceful shutdown test
This commit is contained in:
parent
ee309ced7e
commit
75f0712be2
@ -92,8 +92,8 @@ func TestGracefulShutdown(t *testing.T) {
|
||||
}
|
||||
body.Close()
|
||||
respErr := <-respErrCh
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
if respErr.err != nil {
|
||||
t.Fatal(respErr.err)
|
||||
}
|
||||
defer respErr.resp.Body.Close()
|
||||
bs, err := ioutil.ReadAll(respErr.resp.Body)
|
||||
|
Loading…
Reference in New Issue
Block a user