Cloudwatch: use the backend HTTP client provider (#44036)

This commit is contained in:
Andres Martinez Gotor
2022-01-18 09:34:12 +01:00
committed by GitHub
parent fffd4c10b7
commit 4e1c7e868e
5 changed files with 42 additions and 30 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ func newTestConfig() *setting.Cfg {
type fakeSessionCache struct {
}
func (s fakeSessionCache) GetSession(region string, settings awsds.AWSDatasourceSettings) (*session.Session, error) {
func (s fakeSessionCache) GetSession(c awsds.SessionConfig) (*session.Session, error) {
return &session.Session{
Config: &aws.Config{},
}, nil