Skip to content

Commit

Permalink
fix DependentResourceUri in Update
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Robinson <[email protected]>
  • Loading branch information
adarobin committed Aug 7, 2023
1 parent c84b27a commit 11b3234
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oneview/resource_logical_interconnect_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11b3234

Please sign in to comment.