mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 02:42:22 +08:00
Add Headers to http client Options (#40214)
This commit is contained in:

committed by
GitHub

parent
cdea812cee
commit
d023cabae6
@ -185,6 +185,7 @@ func getClient(dsInfo *DatasourceInfo, s *Service) (apiv1.API, error) {
|
||||
Timeouts: dsInfo.HTTPClientOpts.Timeouts,
|
||||
TLS: dsInfo.HTTPClientOpts.TLS,
|
||||
BasicAuth: dsInfo.HTTPClientOpts.BasicAuth,
|
||||
Headers: dsInfo.HTTPClientOpts.Headers,
|
||||
}
|
||||
|
||||
customMiddlewares := customQueryParametersMiddleware(plog)
|
||||
|
Reference in New Issue
Block a user