summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/jobs/drivers/amqp/item.go1
-rw-r--r--plugins/jobs/drivers/beanstalk/item.go1
-rw-r--r--plugins/jobs/drivers/sqs/item.go1
3 files changed, 3 insertions, 0 deletions
diff --git a/plugins/jobs/drivers/amqp/item.go b/plugins/jobs/drivers/amqp/item.go
index bc679037..1ebe2751 100644
--- a/plugins/jobs/drivers/amqp/item.go
+++ b/plugins/jobs/drivers/amqp/item.go
@@ -133,6 +133,7 @@ func fromJob(job *job.Job) *Item {
Job: job.Job,
Ident: job.Ident,
Payload: job.Payload,
+ Headers: job.Headers,
Options: &Options{
Priority: job.Options.Priority,
Pipeline: job.Options.Pipeline,
diff --git a/plugins/jobs/drivers/beanstalk/item.go b/plugins/jobs/drivers/beanstalk/item.go
index b797fc12..fc0ee86b 100644
--- a/plugins/jobs/drivers/beanstalk/item.go
+++ b/plugins/jobs/drivers/beanstalk/item.go
@@ -108,6 +108,7 @@ func fromJob(job *job.Job) *Item {
Job: job.Job,
Ident: job.Ident,
Payload: job.Payload,
+ Headers: job.Headers,
Options: &Options{
Priority: job.Options.Priority,
Pipeline: job.Options.Pipeline,
diff --git a/plugins/jobs/drivers/sqs/item.go b/plugins/jobs/drivers/sqs/item.go
index 9dd0aa5f..9b052fbc 100644
--- a/plugins/jobs/drivers/sqs/item.go
+++ b/plugins/jobs/drivers/sqs/item.go
@@ -161,6 +161,7 @@ func fromJob(job *job.Job) *Item {
Job: job.Job,
Ident: job.Ident,
Payload: job.Payload,
+ Headers: job.Headers,
Options: &Options{
Priority: job.Options.Priority,
Pipeline: job.Options.Pipeline,