Skip to content

Commit a1528d8

Browse files
committed
fix: lint error
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 373a9ca commit a1528d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rabbitmq.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ loop:
208208
var data queue.Job
209209
_ = json.Unmarshal(task.Body, &data)
210210
if !w.opts.autoAck {
211-
task.Ack(w.opts.autoAck)
211+
_ = task.Ack(w.opts.autoAck)
212212
}
213213
return &data, nil
214214
case <-time.After(1 * time.Second):

0 commit comments

Comments
 (0)