diff options
author | Valery Piashchynski <[email protected]> | 2021-07-23 08:14:34 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-07-23 08:14:34 +0300 |
commit | 54a5c4f2766927427431fd9960c7936dccadeaba (patch) | |
tree | 9449db5ff909870bb4b21ff563e198d2475515b9 /plugins/jobs/drivers | |
parent | 6764d0f9e3b8fe34598b425fadf67a043872a604 (diff) |
EventPipeRun -> EvenPipeActive
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/jobs/drivers')
-rw-r--r-- | plugins/jobs/drivers/amqp/consumer.go | 2 | ||||
-rw-r--r-- | plugins/jobs/drivers/ephemeral/consumer.go | 2 | ||||
-rw-r--r-- | plugins/jobs/drivers/sqs/consumer.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/jobs/drivers/amqp/consumer.go b/plugins/jobs/drivers/amqp/consumer.go index f6442b42..32119273 100644 --- a/plugins/jobs/drivers/amqp/consumer.go +++ b/plugins/jobs/drivers/amqp/consumer.go @@ -344,7 +344,7 @@ func (j *JobsConsumer) Run(p *pipeline.Pipeline) error { j.listener(deliv) j.eh.Push(events.JobEvent{ - Event: events.EventPipeRun, + Event: events.EventPipeActive, Driver: pipe.Driver(), Pipeline: pipe.Name(), Start: time.Now(), diff --git a/plugins/jobs/drivers/ephemeral/consumer.go b/plugins/jobs/drivers/ephemeral/consumer.go index 71652066..ff8f7860 100644 --- a/plugins/jobs/drivers/ephemeral/consumer.go +++ b/plugins/jobs/drivers/ephemeral/consumer.go @@ -185,7 +185,7 @@ func (j *JobBroker) Resume(pipeline string) { // Run is no-op for the ephemeral func (j *JobBroker) Run(pipe *pipeline.Pipeline) error { j.eh.Push(events.JobEvent{ - Event: events.EventPipeRun, + Event: events.EventPipeActive, Driver: pipe.Driver(), Pipeline: pipe.Name(), Start: time.Now(), diff --git a/plugins/jobs/drivers/sqs/consumer.go b/plugins/jobs/drivers/sqs/consumer.go index 246ff3ba..1ded5bc9 100644 --- a/plugins/jobs/drivers/sqs/consumer.go +++ b/plugins/jobs/drivers/sqs/consumer.go @@ -297,7 +297,7 @@ func (j *JobConsumer) Run(p *pipeline.Pipeline) error { go j.listen() j.eh.Push(events.JobEvent{ - Event: events.EventPipeRun, + Event: events.EventPipeActive, Driver: pipe.Driver(), Pipeline: pipe.Name(), Start: time.Now(), |