summaryrefslogtreecommitdiff
path: root/worker.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-09-21 12:41:53 +0300
committerValery Piashchynski <[email protected]>2020-09-21 12:41:53 +0300
commitbc8a3ff724c425a31c2c50a7b5f093983ed792ef (patch)
treea38583c27db0f7893d93c36478d5fa04e4dc4670 /worker.go
parent0af502835616774a8b306596e4d1a8c5843b6bc8 (diff)
Simplify watcher test, fix lgtm warinings and errors
Diffstat (limited to 'worker.go')
-rw-r--r--worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker.go b/worker.go
index 3740aee8..4fbf4369 100644
--- a/worker.go
+++ b/worker.go
@@ -250,7 +250,7 @@ func (w *Worker) execPayload(rqs *Payload) (rsp *Payload, err error) {
}
// add streaming support :)
- if rsp.Body, pr, err = w.rl.Receive(); err != nil {
+ if rsp.Body, _, err = w.rl.Receive(); err != nil {
return nil, errors.Wrap(err, "worker error")
}