Permalink
Browse files

fix issue #40 DBParameterGroupName

  • Loading branch information...
1 parent e091307 commit f643feb32302ad0e41a1643bac89adeba99e487f @kiyotaka committed Aug 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/AWS/RDS/rds.rb
View
@@ -42,7 +42,7 @@ def create_db_instance( options = {})
params["Port"] = options[:port].to_s if options.has?(:port)
params["DBName"] = options[:db_name] if options.has?(:db_name)
- params["DBParameterGroup"] = options[:db_parameter_group] if options.has?(:db_parameter_group)
+ params["DBParameterGroupName"] = options[:db_parameter_group_name] if options.has?(:db_parameter_group_name)
params.merge!(pathlist("DBSecurityGroups.member", [options[:db_security_groups]].flatten)) if options.has_key?(:db_security_groups)
params["AvailabilityZone"] = options[:availability_zone] if options.has?(:availability_zone)
params["PreferredMaintenanceWindow"] = options[:preferred_maintenance_window] if options.has?(:preferred_maintenance_window)

0 comments on commit f643feb

Please sign in to comment.