mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
remove unused variable responseBodySize
This commit is contained in:
parent
3490bdc8b5
commit
9336ff78f4
@ -105,10 +105,6 @@ var (
|
|||||||
// for watch request, test GOAWAY server push 1 byte in every second.
|
// for watch request, test GOAWAY server push 1 byte in every second.
|
||||||
responseBody = []byte("hello")
|
responseBody = []byte("hello")
|
||||||
|
|
||||||
// responseBodySize is the size of response body which test GOAWAY server sent for watch request,
|
|
||||||
// used to check if watch request was broken by GOAWAY frame.
|
|
||||||
responseBodySize = len(responseBody) //nolint:unused
|
|
||||||
|
|
||||||
// requestPostBody is the request body which client must send to test GOAWAY server for POST method,
|
// requestPostBody is the request body which client must send to test GOAWAY server for POST method,
|
||||||
// otherwise, test GOAWAY server will respond 400 HTTP status code.
|
// otherwise, test GOAWAY server will respond 400 HTTP status code.
|
||||||
requestPostBody = responseBody
|
requestPostBody = responseBody
|
||||||
|
Loading…
Reference in New Issue
Block a user