diff --git a/lib/fog/aws/parsers/compute/describe_vpcs.rb b/lib/fog/aws/parsers/compute/describe_vpcs.rb index baec10028..8d8727c73 100644 --- a/lib/fog/aws/parsers/compute/describe_vpcs.rb +++ b/lib/fog/aws/parsers/compute/describe_vpcs.rb @@ -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