mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Merge pull request #84796 from damemi/fix-graceful-shutdown
Fixed error check in graceful shutdown test
This commit is contained in:
commit
6d0994fa66
@ -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