Fix if condition in test

This commit is contained in:
Reinhard Nägele 2017-01-13 19:37:59 +01:00
parent bf8e00e162
commit 6d3f0e5616

View File

@ -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")
}