Index: trunk/extensions/OpenStackManager/OpenStackNovaController.php |
— | — | @@ -168,8 +168,8 @@ |
169 | 169 | $zones = $this->novaConnection->describe_availability_zones(); |
170 | 170 | $zones = $zones->body->availabilityZoneInfo->item; |
171 | 171 | foreach ( $zones as $zone ) { |
172 | | - if ( $zones->zoneState == "available" ) { |
173 | | - $this->availabilityZones["$zones->zoneName"] = $zone; |
| 172 | + if ( $zone->zoneState == "available" ) { |
| 173 | + $this->availabilityZones["$zone->zoneName"] = $zone; |
174 | 174 | } |
175 | 175 | } |
176 | 176 | return $this->availabilityZones; |