Merge pull request #22 from torgeilo/master

The max size field is nr 9, not 10 ;)
This commit is contained in:
Colin Johnson 2013-02-19 09:01:23 -08:00
commit ad75ad4bc2

View File

@ -93,7 +93,7 @@ fi
#gets Auto Scaling Group max-size
asg_initial_max_size=`echo $asg_result | grep ^AUTO-SCALING-GROUP | cut -d "$delimiter" -f 10`
asg_initial_max_size=`echo $asg_result | grep ^AUTO-SCALING-GROUP | cut -d "$delimiter" -f 9`
asg_temporary_max_size=$(($asg_initial_max_size+1))
#gets Auto Scaling Group desired-capacity
asg_initial_desired_capacity=`echo "$asg_result" | grep ^AUTO-SCALING-GROUP | cut -d "$delimiter" -f 10`