From bef6f71092acde8071d75afbf91a307afb604460 Mon Sep 17 00:00:00 2001 From: juchowan Date: Thu, 17 Oct 2024 13:16:49 +0200 Subject: [PATCH] fix import order for schema_site_bd_subnet --- mso/resource_mso_schema_site_bd_subnet.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mso/resource_mso_schema_site_bd_subnet.go b/mso/resource_mso_schema_site_bd_subnet.go index c0ca91d8..f2a65c6b 100644 --- a/mso/resource_mso_schema_site_bd_subnet.go +++ b/mso/resource_mso_schema_site_bd_subnet.go @@ -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")