From b3bcf99cea321254b6de68e2c5afbe6743df5173 Mon Sep 17 00:00:00 2001
From: Aliaksandr Valialkin <valyala@victoriametrics.com>
Date: Wed, 25 Oct 2023 23:37:52 +0200
Subject: [PATCH] lib/promauth: typo fix in the error message after
 d5a599badce3ff84c3ef236e1e8c3fb38514f272: obtaine -> obtain

---
 lib/promauth/config.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/promauth/config.go b/lib/promauth/config.go
index fad3ca9125..fb4e6f13d5 100644
--- a/lib/promauth/config.go
+++ b/lib/promauth/config.go
@@ -352,7 +352,7 @@ func (ac *Config) SetFasthttpHeaders(req *fasthttp.Request, setAuthHeader bool)
 	if setAuthHeader {
 		ah, err := ac.GetAuthHeader()
 		if err != nil {
-			return fmt.Errorf("failed to obtaine Authorization request header: %w", err)
+			return fmt.Errorf("failed to obtain Authorization request header: %w", err)
 		}
 		if ah != "" {
 			reqHeaders.Set("Authorization", ah)