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

replace unholy squish with strip

This commit is contained in:
Denis Diachkov 2017-09-25 11:34:48 -07:00
parent 17df196c73
commit 593886b74a

View file

@ -48,7 +48,7 @@ module Fog
@current_cidr_block[name] = value
when 'vpcSet.item.cidrBlockAssociationSet.item.cidrBlockState'
@current_cidr_block['state'] = value.strip
@current_cidr_block['state'] = value.squish
when 'vpcSet.item.cidrBlockAssociationSet.item'
@current_vpc['cidrBlockAssociationSet'] << @current_cidr_block
@ -60,7 +60,7 @@ module Fog
@current_ipv6_block[name] = value
when 'vpcSet.item.ipv6CidrBlockAssociationSet.item.ipv6CidrBlockState'
@current_ipv6_block['state'] = value.strip
@current_ipv6_block['state'] = value.squish
when 'vpcSet.item.ipv6CidrBlockAssociationSet.item'
@current_vpc['ipv6CidrBlockAssociationSet'] << @current_ipv6_block