Add caching tests for both v1 and v2 handlers #116
Annotations
5 errors
CI tests:
pkg/apiserver/web/cache.go#L60
S1030: should use resBody.String() instead of string(resBody.Bytes()) (gosimple)
|
CI tests:
pkg/apiserver/web/handler/v1/handler_test.go#L308
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
CI tests:
pkg/apiserver/web/handler/v1/handler_test.go#L364
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
CI tests:
pkg/apiserver/web/handler/v2/handler_test.go#L476
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
CI tests
Process completed with exit code 2.
|