Fix linter error

Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
This commit is contained in:
Tyler Reid 2021-06-21 12:32:36 -05:00
parent 8911051770
commit dfb4d1fba1
1 changed files with 2 additions and 2 deletions

View File

@ -78,8 +78,8 @@ func (n *Notifier) Notify(ctx context.Context, alert ...*types.Alert) (bool, err
sess, err := session.NewSessionWithOptions(session.Options{
Config: aws.Config{
Region: aws.String(n.conf.Sigv4.Region),
Endpoint: aws.String(tmpl(n.conf.APIUrl)),
Region: aws.String(n.conf.Sigv4.Region),
Endpoint: aws.String(tmpl(n.conf.APIUrl)),
},
Profile: n.conf.Sigv4.Profile,
})