refactor the read

This commit is contained in:
= 2017-04-26 09:25:10 -06:00
parent 39d7400813
commit fc942c6202
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ func resourceOPCIPAddressAssociationRead(d *schema.ResourceData, meta interface{
name := d.Id() name := d.Id()
getInput := compute.GetIPAddressAssociationInput{ getInput := compute.GetIPAddressAssociationInput{
name, Name: name,
} }
result, err := client.GetIPAddressAssociation(&getInput) result, err := client.GetIPAddressAssociation(&getInput)
if err != nil { if err != nil {