From 8c87adea35805db1588fa81f5b9e4ccc2d8b404f Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 20 Sep 2023 11:48:02 -0700 Subject: [PATCH] Reformatting pass --- plugins/parsers/avro/parser.go | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/plugins/parsers/avro/parser.go b/plugins/parsers/avro/parser.go index d2f211c11128f..2fbbd4888a408 100644 --- a/plugins/parsers/avro/parser.go +++ b/plugins/parsers/avro/parser.go @@ -24,22 +24,22 @@ import ( // an attached schema or schema fingerprint type Parser struct { - MetricName string `toml:"metric_name"` - SchemaRegistry string `toml:"avro_schema_registry"` - CaCertPath string `toml:"avro_schema_registry_cert"` - Schema string `toml:"avro_schema"` - Format string `toml:"avro_format"` - Measurement string `toml:"avro_measurement"` + MetricName string `toml:"metric_name"` + SchemaRegistry string `toml:"avro_schema_registry"` + CaCertPath string `toml:"avro_schema_registry_cert"` + Schema string `toml:"avro_schema"` + Format string `toml:"avro_format"` + Measurement string `toml:"avro_measurement"` MeasurementField string `toml:"avro_measurement_field"` - Tags []string `toml:"avro_tags"` - Fields []string `toml:"avro_fields"` - Timestamp string `toml:"avro_timestamp"` - TimestampFormat string `toml:"avro_timestamp_format"` - FieldSeparator string `toml:"avro_field_separator"` - UnionMode string `toml:"avro_union_mode"` - DefaultTags map[string]string `toml:"tags"` - Log telegraf.Logger `toml:"-"` - registryObj *schemaRegistry + Tags []string `toml:"avro_tags"` + Fields []string `toml:"avro_fields"` + Timestamp string `toml:"avro_timestamp"` + TimestampFormat string `toml:"avro_timestamp_format"` + FieldSeparator string `toml:"avro_field_separator"` + UnionMode string `toml:"avro_union_mode"` + DefaultTags map[string]string `toml:"tags"` + Log telegraf.Logger `toml:"-"` + registryObj *schemaRegistry } func (p *Parser) Init() error {