lib/roark/ami_create_workflow.rb in roark-0.2.0 vs lib/roark/ami_create_workflow.rb in roark-0.2.1

- old
+ new

@@ -1,14 +1,13 @@ module Roark class AmiCreateWorkflow def initialize(args) - @account_ids = args[:account_ids] + @account_ids = Array(args[:account_ids]) @ami = args[:ami] - @tags = args[:tags] + @tags = args.fetch :tags, {} @parameters = args[:parameters] @template = args[:template] - @logger = Roark.logger end def execute %w(create_instance wait_for_instance stop_instance wait_for_instance_to_stop create_ami wait_for_ami destroy_instance add_tags authorize_account_ids).each do |m|