lib/kumogata/client.rb in kumogata-0.3.8 vs lib/kumogata/client.rb in kumogata-0.3.9
- old
+ new
@@ -272,11 +272,11 @@
begin
completed = while_in_progress(stack, 'DELETE_COMPLETE', event_log)
rescue AWS::CloudFormation::Errors::ValidationError
# Handle `Stack does not exist`
completed = true
- Kumogata.logger.info('Successfully')
+ Kumogata.logger.info('Success')
end
unless completed
errmsgs = ['Delete failed']
errmsgs << stack_name
@@ -337,10 +337,10 @@
sleep 1
end
print_event_log(stack, event_log)
completed = (stack.status == complete_status)
- Kumogata.logger.info(completed ? 'Successfully' : 'Failed')
+ Kumogata.logger.info(completed ? 'Success' : 'Failure')
return completed
end
def print_event_log(stack, event_log)
events_for(stack).sort_by {|i| i['Timestamp'] }.each do |event|