From fc124c21bf3811639b9e520deabc9aaa81c2af5b Mon Sep 17 00:00:00 2001 From: Anuj Biyani Date: Tue, 4 Jun 2013 15:58:50 -0700 Subject: [PATCH] fix some print statements --- lib/aws-missing-tools/aws-ha-release/aws-ha-release.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/aws-missing-tools/aws-ha-release/aws-ha-release.rb b/lib/aws-missing-tools/aws-ha-release/aws-ha-release.rb index dc2d7d9..32e3a5a 100755 --- a/lib/aws-missing-tools/aws-ha-release/aws-ha-release.rb +++ b/lib/aws-missing-tools/aws-ha-release/aws-ha-release.rb @@ -100,6 +100,7 @@ module AwsMissingTools sleep @inservice_polling_time end + puts "\nThe new instance was found to be healthy; one old instance will now be removed from the load balancers." deregister_instance instance.ec2_instance, @group.load_balancers sleep @opts[:elb_timeout] @@ -121,8 +122,8 @@ module AwsMissingTools end end - puts "#{@group.name} had its desired-capacity increased temporarily by 1 to a desired-capacity of #{@group.desired_capacity}." - puts "$app_name will now return the desired-capacity of #{@group.name} to its original desired-capacity of #{@group.desired_capacity - 1}." + puts "\n#{@group.name} had its desired-capacity increased temporarily by 1 to a desired-capacity of #{@group.desired_capacity}." + puts "The desired-capacity of #{@group.name} will now be returned to its original desired-capacity of #{@group.desired_capacity - 1}." @group.update(desired_capacity: @group.desired_capacity - 1) if @max_size_change > 0