Skip to content

Commit 6252f1d

Browse files
committed
chore: add error to NackWithOptions
Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
1 parent ea54c93 commit 6252f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/v4/jobs/job.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type Job interface {
2424
// Nack discards the item
2525
Nack() error
2626
// NackWithOptions discards the item with an optional requeue flag
27-
NackWithOptions(requeue bool, delay int)
27+
NackWithOptions(requeue bool, delay int) error
2828
// Requeue puts the message back to the queue with an optional delay
2929
Requeue(headers map[string][]string, delay int) error
3030
// Body returns the payload associated with the item

0 commit comments

Comments
 (0)