CloudWatch: Use default http client from aws-sdk-go (#46370)

* use default http client from aws-sdk-go

* temp comment out line and link to issue
This commit is contained in:
Erik Sundell 2022-03-09 16:29:10 +01:00 committed by GitHub
parent e2a283b6b9
commit 6670257c5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,8 @@ func (e *cloudWatchExecutor) newSession(pluginCtx backend.PluginContext, region
}
return e.sessions.GetSession(awsds.SessionConfig{
HTTPClient: dsInfo.HTTPClient,
// https://github.com/grafana/grafana/issues/46365
// HTTPClient: dsInfo.HTTPClient,
Settings: awsds.AWSDatasourceSettings{
Profile: dsInfo.profile,
Region: region,