Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for issue #15: http://github.com/grempe/amazon-ec2/issues#issue/15

  • Loading branch information...
commit 2527a6c94be6c207f18a99213d2212deb37ed0e9 1 parent 2fe18e0
@bploetz bploetz authored committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/AWS/RDS/rds.rb
View
4 lib/AWS/RDS/rds.rb
@@ -42,7 +42,7 @@ def create_db_instance( options = {})
params["DBParameterGroup"] = options[:db_parameter_group] if options.has?(:db_parameter_group)
params["DBSecurityGroups"] = options[:db_security_groups] if options.has?(:db_security_groups)
params["AvailabilityZone"] = options[:availability_zone] if options.has?(:availability_zone)
- params["PreferredMaintenanceWindow"] = options[:preferred_backup_window] if options.has?(:preferred_backup_window)
+ params["PreferredMaintenanceWindow"] = options[:preferred_maintenance_window] if options.has?(:preferred_maintenance_window)
params["BackupRetentionPeriod"] = options[:backend_retention_period] if options.has?(:backend_retention_period)
params["PreferredBackupWindow"] = options[:preferred_backup_window] if options.has?(:preferred_backup_window)
@@ -363,7 +363,7 @@ def modify_db_instance( options = {})
params["DBParameterGroupName"] = options[:db_parameter_group_name] if options.has?(:db_parameter_group_name)
params["DBSecurityGroups"] = options[:db_security_groups] if options.has?(:db_security_groups)
params["AvailabilityZone"] = options[:availability_zone] if options.has?(:availability_zone)
- params["PreferredMaintenanceWindow"] = options[:preferred_backup_window] if options.has?(:preferred_backup_window)
+ params["PreferredMaintenanceWindow"] = options[:preferred_maintenance_window] if options.has?(:preferred_maintenance_window)
params["BackupRetentionPeriod"] = options[:backend_retention_period] if options.has?(:backend_retention_period)
params["PreferredBackupWindow"] = options[:preferred_backup_window] if options.has?(:preferred_backup_window)
Please sign in to comment.
Something went wrong with that request. Please try again.