Merge pull request #7227 from dtolnay/alarm

Stop swallowing errors from DescribeAlarms
This commit is contained in:
James Nugent 2016-06-20 09:42:06 +02:00 committed by GitHub
commit a0df0bd7df
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ func getAwsCloudWatchMetricAlarm(d *schema.ResourceData, meta interface{}) (*clo
resp, err := conn.DescribeAlarms(&params) resp, err := conn.DescribeAlarms(&params)
if err != nil { if err != nil {
return nil, nil return nil, err
} }
// Find it and return it // Find it and return it