app/vmalert/utils: add missing docs to WithHeaders func added at 70a822f3a0

This commit is contained in:
Aliaksandr Valialkin 2022-07-21 20:39:52 +03:00
parent d0abdc2b5b
commit b49fc2f9f3
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -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 != "" {