diff --git a/bigip/resource_bigip_ltm_virtual_address.go b/bigip/resource_bigip_ltm_virtual_address.go index 906d499f..f57f6c49 100644 --- a/bigip/resource_bigip_ltm_virtual_address.go +++ b/bigip/resource_bigip_ltm_virtual_address.go @@ -130,7 +130,8 @@ func resourceBigipLtmVirtualAddressRead(ctx context.Context, d *schema.ResourceD if va.FullPath != name { return diag.FromErr(fmt.Errorf("virtual address %s not found", name)) } - log.Printf("[DEBUG] virtual address configured on bigip is :%v", vas) + log.Printf("[DEBUG] virtual address configured on bigip is :%+v", vas) + _ = d.Set("name", name) _ = d.Set("arp", va.ARP) _ = d.Set("auto_delete", va.AutoDelete) diff --git a/vendor/github.com/f5devcentral/go-bigip/ltm.go b/vendor/github.com/f5devcentral/go-bigip/ltm.go index 9661bbbb..835e9259 100644 --- a/vendor/github.com/f5devcentral/go-bigip/ltm.go +++ b/vendor/github.com/f5devcentral/go-bigip/ltm.go @@ -2808,7 +2808,7 @@ func (b *BigIP) VirtualAddressStatus(vaddr, state string) error { // ModifyVirtualAddress allows you to change any attribute of a virtual address. Fields that // can be modified are referenced in the VirtualAddress struct. func (b *BigIP) ModifyVirtualAddress(vaddr string, config *VirtualAddress) error { - return b.put(config, uriLtm, uriVirtualAddress, vaddr) + return b.patch(config, uriLtm, uriVirtualAddress, vaddr) } func (b *BigIP) DeleteVirtualAddress(vaddr string) error {