From 62ea6290d4bb20635f68e454e6103e787f6f1d25 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Fri, 19 Oct 2018 15:46:20 -0700 Subject: [PATCH] Add deprecation version for MetricBuffer --- plugins/inputs/mqtt_consumer/mqtt_consumer.go | 2 +- plugins/inputs/nats_consumer/nats_consumer.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inputs/mqtt_consumer/mqtt_consumer.go b/plugins/inputs/mqtt_consumer/mqtt_consumer.go index 0a253b8d82ba6..6d1e2cf58cc34 100644 --- a/plugins/inputs/mqtt_consumer/mqtt_consumer.go +++ b/plugins/inputs/mqtt_consumer/mqtt_consumer.go @@ -37,7 +37,7 @@ type MQTTConsumer struct { parser parsers.Parser - // Legacy metric buffer support + // Legacy metric buffer support; deprecated in v0.10.3 MetricBuffer int PersistentSession bool diff --git a/plugins/inputs/nats_consumer/nats_consumer.go b/plugins/inputs/nats_consumer/nats_consumer.go index cb3eb30172380..dac80476d28ca 100644 --- a/plugins/inputs/nats_consumer/nats_consumer.go +++ b/plugins/inputs/nats_consumer/nats_consumer.go @@ -32,7 +32,7 @@ type natsConsumer struct { PendingMessageLimit int PendingBytesLimit int - // Legacy metric buffer support + // Legacy metric buffer support; deprecated in v0.10.3 MetricBuffer int parser parsers.Parser