mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-29 09:32:16 +00:00
Renamed TopicARN to TopicArn to match 54390aa361/service/sns/examples_test.go (L518)
.
This commit is contained in:
parent
33d6097ce4
commit
a03cd1c638
@ -475,7 +475,7 @@ func (n *notifier) sendAmazonSnsNotification(op notificationOp, config *pb.Amazo
|
||||
Message: aws.String(fmt.Sprintf("%s -- %s", a.Description, status)),
|
||||
MessageStructure: aws.String("string"),
|
||||
Subject: aws.String(fmt.Sprintf("%s -- %s", a.Summary, status)),
|
||||
TopicARN: aws.String(config.GetTopicArn()),
|
||||
TopicArn: aws.String(config.GetTopicArn()),
|
||||
}
|
||||
_, err := snsAPI.Publish(params)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user