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:
parent
473513e68a
commit
b121259735
1 changed files with 3 additions and 2 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue