From 8aacd072576f3817df0d48a611f63ee64aaf0d1d Mon Sep 17 00:00:00 2001 From: Thomas Casteleyn Date: Tue, 10 May 2022 17:59:57 +0200 Subject: [PATCH] chore(inputs/disk): add deprecation notice to legacy mountpoints setting (#10948) --- plugins/inputs/disk/disk.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/inputs/disk/disk.go b/plugins/inputs/disk/disk.go index 461f4bdc9..6c1f59997 100644 --- a/plugins/inputs/disk/disk.go +++ b/plugins/inputs/disk/disk.go @@ -12,8 +12,7 @@ import ( type DiskStats struct { ps system.PS - // Legacy support - LegacyMountPoints []string `toml:"mountpoints"` + LegacyMountPoints []string `toml:"mountpoints" deprecated:"0.10.2;2.0.0;use 'mount_points' instead"` MountPoints []string `toml:"mount_points"` IgnoreFS []string `toml:"ignore_fs"`