1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Fixing bug: It always showed the first instance when using get

This commit is contained in:
Rodrigo Estebanez 2011-12-07 19:36:00 +01:00
parent 473513e68a
commit b121259735

View file

@ -40,9 +40,10 @@ module Fog
server_set << server
else
raise Fog::AWS::RDS::NotFound.new("DBInstance #{identifier} not found")
end
end
else
server_set = self.data[:servers].values
end
server_set = self.data[:servers].values
server_set.each do |server|
case server["DBInstanceStatus"]