diff options
Diffstat (limited to 'plugins/jobs/drivers/ephemeral/item.go')
-rw-r--r-- | plugins/jobs/drivers/ephemeral/item.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/jobs/drivers/ephemeral/item.go b/plugins/jobs/drivers/ephemeral/item.go index c1171ae2..9fab8d24 100644 --- a/plugins/jobs/drivers/ephemeral/item.go +++ b/plugins/jobs/drivers/ephemeral/item.go @@ -118,6 +118,10 @@ func (i *Item) Requeue(headers map[string][]string, delay int64) error { return nil } +func (i *Item) Recycle() { + i.Options = nil +} + func fromJob(job *job.Job) *Item { return &Item{ Job: job.Job, |