From 6d3f0e5616fae2ca039e25420d0f221bb978e5bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20N=C3=A4gele?= Date: Fri, 13 Jan 2017 19:37:59 +0100 Subject: [PATCH] Fix if condition in test --- resource_container_cluster_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource_container_cluster_test.go b/resource_container_cluster_test.go index 391bd269..364de87e 100644 --- a/resource_container_cluster_test.go +++ b/resource_container_cluster_test.go @@ -178,7 +178,7 @@ func testAccCheckContainerClusterAdditionalZonesExist(n string) resource.TestChe if additionalZonesSize, err = strconv.Atoi(rs.Primary.Attributes["additional_zones.#"]); err != nil { return err } - if additionalZonesSize < 2 { + if additionalZonesSize != 2 { return fmt.Errorf("number of additional zones did not match 2") }