Skip to content

Commit

Permalink
Fix some formatting to be 0.12-ready (hashicorp#313)
Browse files Browse the repository at this point in the history
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
  • Loading branch information
modular-magician authored and rileykarson committed Jan 4, 2019
1 parent 5052bf6 commit fea30f3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
8 changes: 4 additions & 4 deletions google-beta/resource_compute_autoscaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ resource "google_compute_autoscaler" "foobar" {
max_replicas = 5
min_replicas = 1
cooldown_period = 60
cpu_utilization = {
cpu_utilization {
target = 0.5
}
}
Expand All @@ -279,7 +279,7 @@ resource "google_compute_autoscaler" "foobar" {
max_replicas = 10
min_replicas = 1
cooldown_period = 60
cpu_utilization = {
cpu_utilization {
target = 0.5
}
}
Expand All @@ -299,10 +299,10 @@ resource "google_compute_autoscaler" "foobar" {
max_replicas = 10
min_replicas = 1
cooldown_period = 60
cpu_utilization = {
cpu_utilization {
target = 0.5
}
load_balancing_utilization = {
load_balancing_utilization {
target = 0.5
}
metric {
Expand Down
2 changes: 1 addition & 1 deletion google-beta/resource_compute_instance_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func testAccComputeInstanceGroup_updated(n string, size int64, instanceGroup *co
// Cannot check the target pool as the instance creation is asynchronous. However, can
// check the target_size.
if instanceGroup.Size != size {
return fmt.Errorf("instance count incorrect")
return fmt.Errorf("instance count incorrect. saw real value %v instead of expected value %v", instanceGroup.Size, size)
}

return nil
Expand Down
2 changes: 0 additions & 2 deletions google-beta/resource_compute_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2860,8 +2860,6 @@ resource "google_compute_instance" "foobar" {
subnetwork_range_name = "${google_compute_subnetwork.inst-test-subnetwork.secondary_ip_range.1.range_name}"
ip_cidr_range = "10.1.0.0/20"
}
]
}
}`, network, subnet, instance)
}
Expand Down
4 changes: 2 additions & 2 deletions google-beta/resource_compute_region_autoscaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ resource "google_compute_region_autoscaler" "foobar" {
max_replicas = 5
min_replicas = 1
cooldown_period = 60
cpu_utilization = {
cpu_utilization {
target = 0.5
}
}
Expand Down Expand Up @@ -250,7 +250,7 @@ resource "google_compute_region_autoscaler" "foobar" {
max_replicas = 10
min_replicas = 1
cooldown_period = 60
cpu_utilization = {
cpu_utilization {
target = 0.5
}
}
Expand Down

0 comments on commit fea30f3

Please sign in to comment.