Skip to content
This repository was archived by the owner on Jun 30, 2018. It is now read-only.

Commit 31e7347

Browse files
committed
Fix formatting issues
1 parent 7cec33c commit 31e7347

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

runscope/resource_runscope_environment.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ func createEnvironmentFromResourceData(d *schema.ResourceData) (*runscope.Enviro
246246
environment.Integrations = integrations
247247
}
248248

249-
250249
if attr, ok := d.GetOk("regions"); ok {
251250
regions := []string{}
252251
items := attr.([]interface{})

runscope/resource_runscope_environment_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ func testAccCheckEnvironmentExists(n string) resource.TestCheckFunc {
103103
return fmt.Errorf("Expected %d regions, actual %d", 2, len(environment.Regions))
104104
}
105105

106-
if (foundRecord.Regions[0] != "us1") {
106+
if foundRecord.Regions[0] != "us1" {
107107
return fmt.Errorf("Expected %s, actual %s", "us1", environment.Regions[0])
108108
}
109109

110-
if (foundRecord.Regions[1] != "eu1") {
110+
if foundRecord.Regions[1] != "eu1" {
111111
return fmt.Errorf("Expected %s, actual %s", "eu1", environment.Regions[1])
112112
}
113113

0 commit comments

Comments
 (0)