mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
Fix if condition in test
This commit is contained in:
parent
722fad6d94
commit
17e8e94fb8
@ -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")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user