error in rds_interface describe_db_snapshots #119

Open
neillturner opened this Issue Feb 20, 2012 · 1 comment

Projects

None yet

2 participants

@neillturner

describe_db_snapshots method fails
corrected as follows:

def describe_db_snapshots(params={}, &block)
item, params = AwsUtils::split_items_and_params(params)
params['DBSnapshotIdentifier'] = item if item
params['DBInstanceIdentifier'] = params.delete(:instance_aws_id) unless params[:instance_aws_id].right_blank?

goes to:

def describe_db_snapshots(*params, &block)
  item, params = AwsUtils::split_items_and_params(params)
  params['DBSnapshotIdentifier'] = item.first unless item.first.right_blank?
  params['DBInstanceIdentifier'] = params[:instance_aws_id] unless params[:instance_aws_id].right_blank?
  params.delete(:instance_aws_id)
@konstantin-dzreev
Contributor

should be fixed: plz try out "development" branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment