From 26172268157481f5e7153fa35e693158d4bea184 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Wed, 9 Mar 2022 10:44:33 -0500 Subject: [PATCH] CloudWatch: Use default http client from aws-sdk-go (#46370) (#46375) * use default http client from aws-sdk-go * temp comment out line and link to issue (cherry picked from commit 6670257c5e4a04fd0ce456d00acad6e834d56992) Co-authored-by: Erik Sundell --- pkg/tsdb/cloudwatch/cloudwatch.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/tsdb/cloudwatch/cloudwatch.go b/pkg/tsdb/cloudwatch/cloudwatch.go index 64799982122..76deb875099 100644 --- a/pkg/tsdb/cloudwatch/cloudwatch.go +++ b/pkg/tsdb/cloudwatch/cloudwatch.go @@ -171,7 +171,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,