ZF-6986: Zend_Service_Amazon_Ec2_Instance describe can only return one instance.
Description
If there is more than one instance running in EC2, Zend_Service_Amazon_Ec2_Instance's describe will only return the last in the reservation set.
This is because onn line 253 the instances array is created and also replaces itself every time a reservation item is looped through.
The reservation id is also replaced since the data structure only allows one.
Comments
Posted by Jon Whitcraft (sidhighwind) on 2009-06-11T12:33:12.000+0000
Yes I found this issue while doing ZF-6717 and it has since been fixed in my user branch and will be released with that update. It should be in 1.8.4.
Posted by Jon Whitcraft (sidhighwind) on 2009-06-11T12:36:31.000+0000
This has been fixed in my user branch were I'm working on the update to the API version.
Posted by Jon Whitcraft (sidhighwind) on 2009-06-30T18:21:03.000+0000
This was done with r16390 as it was part of the update to the describeInstance method.