chore(parsers.xpath): Add correct deprecation tags (#11986)

This commit is contained in:
Thomas Casteleyn 2022-10-31 14:42:50 +01:00 committed by GitHub
parent 393566d9ba
commit 453f36e8ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -45,9 +45,9 @@ type Parser struct {
// Required for backward compatibility
ConfigsXML []xpath.Config `toml:"xml" deprecated:"1.23.1;use 'xpath' instead"`
ConfigsJSON []xpath.Config `toml:"xpath_json"`
ConfigsMsgPack []xpath.Config `toml:"xpath_msgpack"`
ConfigsProto []xpath.Config `toml:"xpath_protobuf"`
ConfigsJSON []xpath.Config `toml:"xpath_json" deprecated:"1.23.1;use 'xpath' instead"`
ConfigsMsgPack []xpath.Config `toml:"xpath_msgpack" deprecated:"1.23.1;use 'xpath' instead"`
ConfigsProto []xpath.Config `toml:"xpath_protobuf" deprecated:"1.23.1;use 'xpath' instead"`
document dataDocument
}