From fc942c620213858cfae5885431c897204d3a14f3 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 26 Apr 2017 09:25:10 -0600 Subject: [PATCH] refactor the read --- builtin/providers/opc/resource_ip_address_association.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/opc/resource_ip_address_association.go b/builtin/providers/opc/resource_ip_address_association.go index de7dec4db..59fcde858 100644 --- a/builtin/providers/opc/resource_ip_address_association.go +++ b/builtin/providers/opc/resource_ip_address_association.go @@ -82,7 +82,7 @@ func resourceOPCIPAddressAssociationRead(d *schema.ResourceData, meta interface{ name := d.Id() getInput := compute.GetIPAddressAssociationInput{ - name, + Name: name, } result, err := client.GetIPAddressAssociation(&getInput) if err != nil {