Skip to content

Commit

Permalink
provider/google: Just naming: testAccComputeInstanceGroup_network -> …
Browse files Browse the repository at this point in the history
…testAccComputeInstanceGroup_hasCorrectNetwork
  • Loading branch information
tmshn committed May 2, 2017
1 parent fe1c0d6 commit b8c6c40
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestAccComputeInstanceGroup_basic(t *testing.T) {
"google_compute_instance_group.empty", &instanceGroup),
testAccComputeInstanceGroup_exists(
"google_compute_instance_group.empty-with-network", &instanceGroup),
testAccComputeInstanceGroup_network(
testAccComputeInstanceGroup_hasCorrectNetwork(
"google_compute_instance_group.empty-with-network", network, &instanceGroup),
),
},
Expand Down Expand Up @@ -211,7 +211,7 @@ func testAccComputeInstanceGroup_named_ports(n string, np map[string]int64, inst
}
}

func testAccComputeInstanceGroup_network(n string, network string, instanceGroup *compute.InstanceGroup) resource.TestCheckFunc {
func testAccComputeInstanceGroup_hasCorrectNetwork(n string, network string, instanceGroup *compute.InstanceGroup) resource.TestCheckFunc {
return func(s *terraform.State) error {
rs, ok := s.RootModule().Resources[n]
if !ok {
Expand Down

0 comments on commit b8c6c40

Please sign in to comment.