From 94fa7067ad4d875632ff293aef3d8ec35c1a4f10 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Tue, 16 Jun 2020 09:25:57 -0700 Subject: [PATCH] Mark unused agent options as deprecated --- config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index df299daf8..35f86a4ee 100644 --- a/config/config.go +++ b/config/config.go @@ -136,12 +136,12 @@ type AgentConfig struct { // FlushBufferWhenFull tells Telegraf to flush the metric buffer whenever // it fills up, regardless of FlushInterval. Setting this option to true // does _not_ deactivate FlushInterval. - FlushBufferWhenFull bool + FlushBufferWhenFull bool // deprecated in 0.13; has no effect // TODO(cam): Remove UTC and parameter, they are no longer // valid for the agent config. Leaving them here for now for backwards- // compatibility - UTC bool `toml:"utc"` + UTC bool `toml:"utc"` // deprecated in 1.0.0; has no effect // Debug is the option for running in debug mode Debug bool `toml:"debug"`