go fmt
This commit is contained in:
parent
a707f8414c
commit
17b137c972
|
@ -8,7 +8,6 @@ import (
|
|||
"github.com/hashicorp/terraform/terraform"
|
||||
)
|
||||
|
||||
|
||||
var (
|
||||
OS_REGION_NAME = ""
|
||||
)
|
||||
|
|
|
@ -73,7 +73,6 @@ func testAccCheckComputeV2InstanceExists(t *testing.T, n string, instance *serve
|
|||
return fmt.Errorf("(testAccCheckComputeV2InstanceExists) Error creating OpenStack compute client: %s", err)
|
||||
}
|
||||
|
||||
|
||||
found, err := servers.Get(computeClient, rs.Primary.ID).Extract()
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
@ -111,7 +111,7 @@ func resourceNetworkingNetworkV2Read(d *schema.ResourceData, meta interface{}) e
|
|||
|
||||
d.Set("region", d.Get("region").(string))
|
||||
|
||||
if t, exists := d.GetOk("name"); exists && t != ""{
|
||||
if t, exists := d.GetOk("name"); exists && t != "" {
|
||||
d.Set("name", n.Name)
|
||||
} else {
|
||||
d.Set("name", "")
|
||||
|
|
Loading…
Reference in New Issue