summaryrefslogtreecommitdiff
path: root/service/http/response.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/http/response.go')
-rw-r--r--service/http/response.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/response.go b/service/http/response.go
index 2d17278d..8bd770ec 100644
--- a/service/http/response.go
+++ b/service/http/response.go
@@ -19,7 +19,7 @@ type Response struct {
body interface{}
}
-// NewResponse creates new response based on given roadrunner payload.
+// NewResponse creates new response based on given rr payload.
func NewResponse(p *roadrunner.Payload) (*Response, error) {
r := &Response{body: p.Body}
if err := json.Unmarshal(p.Context, r); err != nil {