remove unused variable responseBodySize

Kubernetes-commit: 9336ff78f4a95cca8eb4a5cf528812d1bcac552c
This commit is contained in:
Antonio Ojea 2021-11-16 22:49:22 +01:00 committed by Kubernetes Publisher
parent 990b0d9a2e
commit 2f6960cc90
1 changed files with 0 additions and 4 deletions

View File

@ -105,10 +105,6 @@ var (
// for watch request, test GOAWAY server push 1 byte in every second.
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,
// otherwise, test GOAWAY server will respond 400 HTTP status code.
requestPostBody = responseBody