diff options
Diffstat (limited to 'pkg/worker_handler/response.go')
-rw-r--r-- | pkg/worker_handler/response.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/worker_handler/response.go b/pkg/worker_handler/response.go index cbf22794..d22f09d4 100644 --- a/pkg/worker_handler/response.go +++ b/pkg/worker_handler/response.go @@ -22,7 +22,7 @@ type Response struct { } // NewResponse creates new response based on given pool payload. -func NewResponse(p payload.Payload) (*Response, error) { +func NewResponse(p *payload.Payload) (*Response, error) { const op = errors.Op("http_response") r := &Response{Body: p.Body} if err := json.Unmarshal(p.Context, r); err != nil { |