lib/aptible/cli/subcommands/config.rb in aptible-cli-0.5.12 vs lib/aptible/cli/subcommands/config.rb in aptible-cli-0.5.13

- old
+ new

@@ -26,11 +26,11 @@ # FIXME: define_method - ?! Seriously, WTF Thor. app = ensure_app(options) env = Hash[args.map { |arg| arg.split('=', 2) }] operation = app.create_operation(type: 'configure', env: env) puts 'Updating configuration and restarting app...' - poll_for_success(operation) + attach_to_operation_logs(operation) end desc 'config:set', 'Alias for config:add' option :app option :remote, aliases: '-r' @@ -45,10 +45,10 @@ # FIXME: define_method - ?! Seriously, WTF Thor. app = ensure_app(options) env = Hash[args.map { |arg| [arg, ''] }] operation = app.create_operation(type: 'configure', env: env) puts 'Updating configuration and restarting app...' - poll_for_success(operation) + attach_to_operation_logs(operation) end desc 'config:unset', 'Alias for config:rm' option :app option :remote, aliases: '-r'