mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DatasourceProxy: Fix spelling (#75859)
* Fix spelling --------- Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
This commit is contained in:
parent
9747cdd7d1
commit
770b52b02b
@ -38,7 +38,7 @@ func ProvideService(dataSourceCache datasources.CacheService, plugReqValidator v
|
|||||||
DataSourcesService: dsService,
|
DataSourcesService: dsService,
|
||||||
tracer: tracer,
|
tracer: tracer,
|
||||||
secretsService: secretsService,
|
secretsService: secretsService,
|
||||||
fetures: features,
|
features: features,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ type DataSourceProxyService struct {
|
|||||||
DataSourcesService datasources.DataSourceService
|
DataSourcesService datasources.DataSourceService
|
||||||
tracer tracing.Tracer
|
tracer tracing.Tracer
|
||||||
secretsService secrets.Service
|
secretsService secrets.Service
|
||||||
fetures featuremgmt.FeatureToggles
|
features featuremgmt.FeatureToggles
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *DataSourceProxyService) ProxyDataSourceRequest(c *contextmodel.ReqContext) {
|
func (p *DataSourceProxyService) ProxyDataSourceRequest(c *contextmodel.ReqContext) {
|
||||||
@ -123,7 +123,7 @@ func (p *DataSourceProxyService) proxyDatasourceRequest(c *contextmodel.ReqConte
|
|||||||
|
|
||||||
proxyPath := getProxyPath(c)
|
proxyPath := getProxyPath(c)
|
||||||
proxy, err := pluginproxy.NewDataSourceProxy(ds, plugin.Routes, c, proxyPath, p.Cfg, p.HTTPClientProvider,
|
proxy, err := pluginproxy.NewDataSourceProxy(ds, plugin.Routes, c, proxyPath, p.Cfg, p.HTTPClientProvider,
|
||||||
p.OAuthTokenService, p.DataSourcesService, p.tracer, p.fetures)
|
p.OAuthTokenService, p.DataSourcesService, p.tracer, p.features)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
var urlValidationError datasource.URLValidationError
|
var urlValidationError datasource.URLValidationError
|
||||||
if errors.As(err, &urlValidationError) {
|
if errors.As(err, &urlValidationError) {
|
||||||
|
Loading…
Reference in New Issue
Block a user