mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
app/vmalert/utils: add missing docs to WithHeaders func added at 70a822f3a0
This commit is contained in:
parent
d19a368aff
commit
67bca5a6f6
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