diff --git a/builtin/logical/pki/ocsp.go b/builtin/logical/pki/ocsp.go index b01f60a38..ff3515521 100644 --- a/builtin/logical/pki/ocsp.go +++ b/builtin/logical/pki/ocsp.go @@ -239,7 +239,7 @@ func fetchDerEncodedRequest(request *logical.Request, data *framework.FieldData) } return requestBytes, nil default: - return nil, fmt.Errorf("unsupported request method: %s", request.HTTPRequest.Method) + return nil, fmt.Errorf("unsupported request method: %s", request.Operation) } }