1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

Update db_cluster_parser.rb

This commit is contained in:
Chanakya Devraj 2016-10-20 18:02:22 +05:30 committed by GitHub
parent 2316c78eea
commit 5835c4c09d

View file

@ -31,10 +31,8 @@ module Fog
def end_element(name) def end_element(name)
case name case name
when 'Port', 'Engine', 'Status', 'BackupRetentionPeriod', 'EngineVersion', 'Endpoint', 'DBClusterParameterGroup', 'DBClusterIdentifier', 'PreferredBackupWindow', 'PreferredMaintenanceWindow', 'AllocatedStorage', 'MasterUsername' when 'Port', 'Engine', 'Status', 'BackupRetentionPeriod', 'DBSubnetGroup', 'EngineVersion', 'Endpoint', 'DBClusterParameterGroup', 'DBClusterIdentifier', 'PreferredBackupWindow', 'PreferredMaintenanceWindow', 'AllocatedStorage', 'MasterUsername'
@db_cluster[name] = value @db_cluster[name] = value
when 'DBSubnetGroup'
@db_cluster['DBSubnetGroupName'] = value
when 'VpcSecurityGroups' when 'VpcSecurityGroups'
@in_vpc_security_groups = false @in_vpc_security_groups = false
@db_cluster['VpcSecurityGroups'] = @vpc_security_groups @db_cluster['VpcSecurityGroups'] = @vpc_security_groups