mirror of
https://github.com/grafana/grafana.git
synced 2025-01-19 21:13:35 -06:00
Stackdriver: Use new access token API
This commit is contained in:
parent
71af62e741
commit
23339e4322
@ -332,7 +332,7 @@ func (proxy *DataSourceProxy) applyRoute(req *http.Request) {
|
||||
logger.Error("Failed to render plugin headers", "error", err)
|
||||
}
|
||||
|
||||
tokenProvider := newAccessTokenProvider(proxy.ds.Id, proxy.route)
|
||||
tokenProvider := NewAccessTokenProvider(proxy.ds.Id, proxy.route)
|
||||
|
||||
if proxy.route.TokenAuth != nil {
|
||||
if token, err := tokenProvider.getAccessToken(data); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user