chore(inputs/disk): add deprecation notice to legacy mountpoints setting (#10948)

This commit is contained in:
Thomas Casteleyn 2022-05-10 17:59:57 +02:00 committed by GitHub
parent 6dc2b99549
commit 8aacd07257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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"`