surface error with setting records on Route 53 record

This commit is contained in:
Clint Shryock 2015-04-08 14:01:00 -05:00
parent 29a5d9fc1a
commit 22e487c5d0
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ func resourceAwsRoute53RecordRead(d *schema.ResourceData, meta interface{}) erro
err := d.Set("records", flattenResourceRecords(record.ResourceRecords))
if err != nil {
log.Printf("[DEBUG] Error setting records for: %s, error: %#v", en, err)
return fmt.Errorf("[DEBUG] Error setting records for: %s, error: %#v", en, err)
}
d.Set("ttl", record.TTL)