lib/simple_deploy/stack.rb in simple_deploy-0.2.7 vs lib/simple_deploy/stack.rb in simple_deploy-0.2.8
- old
+ new
@@ -7,11 +7,10 @@
class Stack
def initialize(args)
@environment = args[:environment]
@name = args[:name]
- @config = Config.new
- @config.logger = SimpleDeployLogger.new
+ @config = Config.new :logger => args[:logger]
end
def self.list(args)
StackLister.new(:config => args[:config]).all
end