From 11b323440faa4f250907c9ddc5ea01fff1c9599b Mon Sep 17 00:00:00 2001 From: Adam Robinson Date: Mon, 7 Aug 2023 14:57:52 -0400 Subject: [PATCH] fix DependentResourceUri in Update Signed-off-by: Adam Robinson --- oneview/resource_logical_interconnect_group.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oneview/resource_logical_interconnect_group.go b/oneview/resource_logical_interconnect_group.go index fc22ded3..bfb01489 100644 --- a/oneview/resource_logical_interconnect_group.go +++ b/oneview/resource_logical_interconnect_group.go @@ -2953,11 +2953,11 @@ func resourceLogicalInterconnectGroupUpdate(d *schema.ResourceData, meta interfa interconnectSettings.ConsistencyChecking = val1.(string) } if val1, ok := d.GetOk(interconnectSettingsPrefix + ".dependent_resource_uri"); ok { - interconnectSettings.Description = utils.NewNstring(val1.(string)) + interconnectSettings.DependentResourceUri = utils.NewNstring(val1.(string)) } if val1, ok := d.GetOk(interconnectSettingsPrefix + ".description"); ok { - interconnectSettings.DependentResourceUri = utils.NewNstring(val1.(string)) + interconnectSettings.Description = utils.NewNstring(val1.(string)) } domainName := d.Get(interconnectSettingsPrefix + ".domain_name").(string) interconnectSettings.DomainName = &domainName