From d9fe712bd3914c3b88aac8958973466125214f91 Mon Sep 17 00:00:00 2001 From: Erik Baranowski <39704712+erikbaranowski@users.noreply.github.com> Date: Tue, 6 Feb 2024 17:15:52 -0500 Subject: [PATCH] Update component/common/config/types.go Co-authored-by: Robert Fratto --- component/common/config/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/common/config/types.go b/component/common/config/types.go index fe54641543ec..cdcaaae46170 100644 --- a/component/common/config/types.go +++ b/component/common/config/types.go @@ -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