Merge pull request #13988 from hashicorp/p-opc-ip-association
Refactor IPAddressAssociationRead
This commit is contained in:
commit
b14c84d82a
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue