Skip to content

Commit

Permalink
Update component/common/config/types.go
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Fratto <[email protected]>
  • Loading branch information
erikbaranowski and rfratto authored Feb 6, 2024
1 parent 929d6ba commit d9fe712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/common/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (a *Authorization) Validate() error {
a.Type = bearerAuth
}
if strings.ToLower(a.Type) == "basic" {
return fmt.Errorf(`authorization type cannot be set to "basic", use "basic_auth" instead`)
return fmt.Errorf(`authorization type cannot be set to "basic", use "basic_auth" block instead`)
}

return nil
Expand Down

0 comments on commit d9fe712

Please sign in to comment.