Skip to content

Commit

Permalink
Update internal/component/otelcol/receiver/solace/solace.go
Browse files Browse the repository at this point in the history
Co-authored-by: Piotr <[email protected]>
  • Loading branch information
wildum and thampiotr authored Nov 15, 2024
1 parent 461e357 commit 92696c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/component/otelcol/receiver/solace/solace.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (args *Arguments) Validate() error {
authMethod++
}
if authMethod != 1 {
return fmt.Errorf("the auth block must contain either a sasl_plain block, a sasl_xauth2 block or a sasl_external block")
return fmt.Errorf("the auth block must contain exactly one of sasl_plain block, sasl_xauth2 block or sasl_external block")
}
if len(strings.TrimSpace(args.Queue)) == 0 {
return fmt.Errorf("queue must not be empty, queue definition has format queue://<queuename>")
Expand Down

0 comments on commit 92696c1

Please sign in to comment.