diff --git a/signature/sigstore/rekor/openapi_infra.go b/signature/sigstore/rekor/openapi_infra.go index 6d51897cf..164dcba29 100644 --- a/signature/sigstore/rekor/openapi_infra.go +++ b/signature/sigstore/rekor/openapi_infra.go @@ -28,9 +28,6 @@ import ( // makeRequest makes a http request to the requested requestPath, and returns the received response. func (r *rekorClient) makeRequest(ctx context.Context, method, requestPath string, bodyContent any) (*http.Response, error) { - ctx, cancel := context.WithCancel(ctx) - defer cancel() - var body io.Reader headers := http.Header{}