mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/promauth: typo fix in the error message after d5a599badc
: obtaine -> obtain
This commit is contained in:
parent
d5a599badc
commit
612dcf231a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue