sync with stdout so that output can be piped in realtime

This commit is contained in:
Anuj Biyani 2013-06-05 14:44:19 -07:00
parent 80195429d3
commit fb38aa1a98

View File

@ -9,6 +9,8 @@ module AwsMissingTools
INSERVICE_POLLING_TIME = 10 INSERVICE_POLLING_TIME = 10
def initialize(argv) def initialize(argv)
STDOUT.sync = true
@opts = AwsHaRelease.parse_options(argv) @opts = AwsHaRelease.parse_options(argv)
AWS.config(access_key_id: @opts[:aws_access_key], secret_access_key: @opts[:aws_secret_key], region: @opts[:region]) AWS.config(access_key_id: @opts[:aws_access_key], secret_access_key: @opts[:aws_secret_key], region: @opts[:region])