Merge pull request #7227 from dtolnay/alarm
Stop swallowing errors from DescribeAlarms
This commit is contained in:
commit
a0df0bd7df
|
@ -259,7 +259,7 @@ func getAwsCloudWatchMetricAlarm(d *schema.ResourceData, meta interface{}) (*clo
|
||||||
|
|
||||||
resp, err := conn.DescribeAlarms(¶ms)
|
resp, err := conn.DescribeAlarms(¶ms)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find it and return it
|
// Find it and return it
|
||||||
|
|
Loading…
Reference in New Issue