Permalink
Browse files

refs #10240, RightAws: Issue #73: Can't get list of instances with Rd…

…sInterface
  • Loading branch information...
1 parent 2d10774 commit 10b191861b251b25cbeb5b208622b0b3f3164497 @konstantin-dzreev konstantin-dzreev committed Jun 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rds/right_rds_interface.rb
@@ -162,7 +162,7 @@ def incrementally_list_items(action, parser_class, params={}, &block) # :nodoc:
def describe_db_instances(*params, &block)
item, params = AwsUtils::split_items_and_params(params)
params = params.dup
- params['DBInstanceIdentifier'] = item if item
+ params['DBInstanceIdentifier'] = item.first unless item.right_blank?
result = []
incrementally_list_items('DescribeDBInstances', DescribeDbInstancesParser, params) do |response|
result += response[:db_instances]

0 comments on commit 10b1918

Please sign in to comment.