Refactor the patching implementation: #580
Annotations
10 errors
validation:
internal/iso/internal/reverseproxy.go#L313
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
|
validation:
internal/iso/internal/reverseproxy.go#L357
SA1019: http.CloseNotifier has been deprecated since Go 1.11 and an alternative has been available since Go 1.7: the CloseNotifier interface predates Go's context package. New code should use [Request.Context] instead. (staticcheck)
|
validation:
internal/iso/internal/reverseproxy.go#L549
response body must be closed (bodyclose)
|
validation:
internal/iso/internal/reverseproxy.go#L630
response body must be closed (bodyclose)
|
validation:
internal/iso/internal/reverseproxy.go#L667
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
validation:
internal/iso/internal/reverseproxy.go#L714
Error return value is not checked (errcheck)
|
validation:
internal/iso/internal/reverseproxy.go#L735
Error return value is not checked (errcheck)
|
validation:
internal/iso/internal/reverseproxy.go#L772
response body must be closed (bodyclose)
|
validation:
internal/iso/internal/reverseproxy.go#L792
ST1005: error strings should not be capitalized (stylecheck)
|
validation:
internal/iso/internal/reverseproxy_test.go#L101
response body must be closed (bodyclose)
|