Merge "Send token when deleting environment" into iteration4

This commit is contained in:
Stanislav Lagun 2013-03-27 18:36:01 +04:00 committed by Gerrit Code Review
commit 11e6c6539b

View File

@ -95,6 +95,8 @@ class Controller(object):
env = environment.description
env['services'] = []
env['deleted'] = True
#Set X-Auth-Token for conductor
env['token'] = request.context.auth_token
connection = amqp.Connection('{0}:{1}'.
format(rabbitmq.host, rabbitmq.port),