dont dereference pointers on Set

pull/13092/head
Jake Champlin 9 years ago
parent e97900aef2
commit 75e61606bb
No known key found for this signature in database
GPG Key ID: DC31F41958EF4AC2

@ -50,8 +50,8 @@ func dataSourceAwsCallerIdentityRead(d *schema.ResourceData, meta interface{}) e
}
log.Printf("[DEBUG] Setting AWS Account ID to %s.", *res.Account)
d.Set("account_id", *res.Account)
d.Set("arn", *res.Arn)
d.Set("user_id", *res.UserId)
d.Set("account_id", res.Account)
d.Set("arn", res.Arn)
d.Set("user_id", res.UserId)
return nil
}

Loading…
Cancel
Save