diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/priority_queue/binary_heap_test.go | 2 | ||||
-rw-r--r-- | pkg/priority_queue/interface.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/priority_queue/binary_heap_test.go b/pkg/priority_queue/binary_heap_test.go index fa0c5c29..fb5b83de 100644 --- a/pkg/priority_queue/binary_heap_test.go +++ b/pkg/priority_queue/binary_heap_test.go @@ -20,7 +20,7 @@ func (t Test) Nack() error { return nil } -func (t Test) Requeue(_ int64) error { +func (t Test) Requeue(_ map[string][]string, _ int64) error { return nil } diff --git a/pkg/priority_queue/interface.go b/pkg/priority_queue/interface.go index 3d192e8a..9efa4652 100644 --- a/pkg/priority_queue/interface.go +++ b/pkg/priority_queue/interface.go @@ -27,5 +27,5 @@ type Item interface { Nack() error // Requeue - put the message back to the queue with the optional delay - Requeue(delay int64) error + Requeue(headers map[string][]string, delay int64) error } |