Skip to content

Commit

Permalink
Minor update to queue setting's error message
Browse files Browse the repository at this point in the history
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
  • Loading branch information
FreakyNobleGas and mx-psi authored Feb 4, 2022
1 parent 153711c commit bef72fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/otlpexporter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var _ config.Exporter = (*Config)(nil)
// Validate checks if the exporter configuration is valid
func (cfg *Config) Validate() error {
if err := cfg.QueueSettings.Validate(); err != nil {
return fmt.Errorf("queue settings has invalid configuration %w", err)
return fmt.Errorf("queue settings has invalid configuration: %w", err)
}

return nil
Expand Down

0 comments on commit bef72fb

Please sign in to comment.