Skip to content

Commit

Permalink
fix import order for schema_site_bd_subnet
Browse files Browse the repository at this point in the history
  • Loading branch information
juchowan committed Oct 17, 2024
1 parent 4ae98af commit bef6f71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mso/resource_mso_schema_site_bd_subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ func resourceMSOSchemaSiteBdSubnetImport(d *schema.ResourceData, m interface{})
if err != nil {
return nil, fmt.Errorf("No Sites found")
}
stateSite := get_attribute[1]
stateTemplate := get_attribute[2]
stateSite := get_attribute[2]
stateTemplate := get_attribute[4]
found := false
stateBd := get_attribute[3]
stateBd := get_attribute[6]
stateIp := import_split[2]
for i := 0; i < count && !found; i++ {
tempCont, err := cont.ArrayElement(i, "sites")
Expand Down

0 comments on commit bef6f71

Please sign in to comment.