diff options
Diffstat (limited to 'plugins/jobs/brokers/amqp/rabbit.go')
-rw-r--r-- | plugins/jobs/brokers/amqp/rabbit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jobs/brokers/amqp/rabbit.go b/plugins/jobs/brokers/amqp/rabbit.go index f21fe8de..b5e73a9d 100644 --- a/plugins/jobs/brokers/amqp/rabbit.go +++ b/plugins/jobs/brokers/amqp/rabbit.go @@ -59,7 +59,7 @@ func (j *JobsConsumer) initRabbitMQ() error { return errors.E(op, err) } - return nil + return channel.Close() } func (j *JobsConsumer) listener(deliv <-chan amqp.Delivery) { |