summaryrefslogtreecommitdiff
path: root/plugins/jobs/drivers/beanstalk/item.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jobs/drivers/beanstalk/item.go')
-rw-r--r--plugins/jobs/drivers/beanstalk/item.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jobs/drivers/beanstalk/item.go b/plugins/jobs/drivers/beanstalk/item.go
index 2c2873c2..b797fc12 100644
--- a/plugins/jobs/drivers/beanstalk/item.go
+++ b/plugins/jobs/drivers/beanstalk/item.go
@@ -100,7 +100,7 @@ func (i *Item) Ack() error {
}
func (i *Item) Nack() error {
- return nil
+ return i.Options.conn.Delete(i.Options.id)
}
func fromJob(job *job.Job) *Item {