lib/application.rb in docman-0.0.6 vs lib/application.rb in docman-0.0.7
- old
+ new
@@ -63,10 +63,10 @@
execute('deploy', state, name)
end
end
def execute(action, state, name = nil)
- params = @deploy_target
+ params = @deploy_target.clone
params['state'] = state
params['action'] = action
params['name'] = name
params['environment'] = @deploy_target['environments'][state]
Docman::Deployers::Deployer.create(params, nil, self).perform