Send token when deleting environment
This commit is contained in:
parent
e6c30e4072
commit
628ec60b4e
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user