From c7e2945a468230e21de8448aff5313bf6a4a8d46 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Tue, 4 Sep 2018 13:21:58 -0700 Subject: [PATCH] Fix exchange_durability sample config in amqp output --- plugins/outputs/amqp/README.md | 4 ++-- plugins/outputs/amqp/amqp.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/outputs/amqp/README.md b/plugins/outputs/amqp/README.md index 6002311f6..fe44ea4ed 100644 --- a/plugins/outputs/amqp/README.md +++ b/plugins/outputs/amqp/README.md @@ -35,8 +35,8 @@ For an introduction to AMQP see: ## If true, exchange will be passively declared. # exchange_declare_passive = false - ## If true, exchange will be created as a durable exchange. - # exchange_durable = true + ## Exchange durability can be either "transient" or "durable". + # exchange_durability = "durable" ## Additional exchange arguments. # exchange_arguments = { } diff --git a/plugins/outputs/amqp/amqp.go b/plugins/outputs/amqp/amqp.go index a69db1e6d..a41f0a1fe 100644 --- a/plugins/outputs/amqp/amqp.go +++ b/plugins/outputs/amqp/amqp.go @@ -93,8 +93,8 @@ var sampleConfig = ` ## If true, exchange will be passively declared. # exchange_declare_passive = false - ## If true, exchange will be created as a durable exchange. - # exchange_durable = true + ## Exchange durability can be either "transient" or "durable". + # exchange_durability = "durable" ## Additional exchange arguments. # exchange_arguments = { }