mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmalert/utils: add missing docs to WithHeaders func added at 70a822f3a0
This commit is contained in:
parent
d0abdc2b5b
commit
b49fc2f9f3
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ func WithOAuth(clientID, clientSecret, clientSecretFile, tokenURL, scopes string
|
|||
}
|
||||
}
|
||||
|
||||
// WithHeaders returns AuthConfigOptions and set Headers based on the given params
|
||||
func WithHeaders(headers string) AuthConfigOptions {
|
||||
return func(config *promauth.HTTPClientConfig) {
|
||||
if headers != "" {
|
||||
|
|
Loading…
Reference in a new issue