mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Add Headers to http client Options (#40214)
This commit is contained in:
parent
cdea812cee
commit
d023cabae6
@ -185,6 +185,7 @@ func getClient(dsInfo *DatasourceInfo, s *Service) (apiv1.API, error) {
|
|||||||
Timeouts: dsInfo.HTTPClientOpts.Timeouts,
|
Timeouts: dsInfo.HTTPClientOpts.Timeouts,
|
||||||
TLS: dsInfo.HTTPClientOpts.TLS,
|
TLS: dsInfo.HTTPClientOpts.TLS,
|
||||||
BasicAuth: dsInfo.HTTPClientOpts.BasicAuth,
|
BasicAuth: dsInfo.HTTPClientOpts.BasicAuth,
|
||||||
|
Headers: dsInfo.HTTPClientOpts.Headers,
|
||||||
}
|
}
|
||||||
|
|
||||||
customMiddlewares := customQueryParametersMiddleware(plog)
|
customMiddlewares := customQueryParametersMiddleware(plog)
|
||||||
|
Loading…
Reference in New Issue
Block a user