refactor the read
This commit is contained in:
parent
39d7400813
commit
fc942c6202
|
@ -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