From 593886b74a324022a679e1a2a8c10b345dc1ec27 Mon Sep 17 00:00:00 2001 From: Denis Diachkov Date: Mon, 25 Sep 2017 11:34:48 -0700 Subject: [PATCH] replace unholy squish with strip --- lib/fog/aws/parsers/compute/describe_vpcs.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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