Skip to content

Commit

Permalink
Update processor/batchprocessor/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de>
  • Loading branch information
jmacd and jpkrohling committed Apr 5, 2023
1 parent 8cf701d commit 5cfdde8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/batchprocessor/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (cfg *Config) Validate() error {
for _, k := range cfg.MetadataKeys {
l := strings.ToLower(k)
if _, has := uniq[l]; has {
return fmt.Errorf("duplicate entry in metadata_keys: %s (case-insensitive)", l)
return fmt.Errorf("duplicate entry in metadata_keys: %q (case-insensitive)", l)
}
uniq[l] = true
}
Expand Down

0 comments on commit 5cfdde8

Please sign in to comment.