fix bootstraping error

This commit is contained in:
Anton Chuchkalov 2015-11-13 19:12:28 +03:00
parent d3fb682b4b
commit cf8a340447

View File

@ -189,7 +189,9 @@ module Devops
end
def bootstrap_server
server, rl, bootstrap_template = prepare_bootstrap_server
attrs = prepare_bootstrap_server
server = attrs[:server]
bootstrap_template = attrs[:bootstrap_template]
jid = Worker.start_async(BootstrapWorker,
server_attrs: server.to_mongo_hash,