Fix bug with session during deploy
Change-Id: Ic931b8f1d01eed43cbbcff29f8aceb80ae6931ee Closes-Bug: #1303751
This commit is contained in:
parent
cec21ec9e5
commit
a4f91b3176
@ -118,10 +118,8 @@ class SessionServices(object):
|
|||||||
:param unit: SQLalchemy session
|
:param unit: SQLalchemy session
|
||||||
:param token: auth token that is going to be used by orchestration
|
:param token: auth token that is going to be used by orchestration
|
||||||
"""
|
"""
|
||||||
#unit = get_session()
|
|
||||||
|
|
||||||
#Set X-Auth-Token for conductor
|
#Set X-Auth-Token for conductor
|
||||||
unit = db_session.get_session()
|
|
||||||
environment = unit.query(models.Environment).get(
|
environment = unit.query(models.Environment).get(
|
||||||
session.environment_id)
|
session.environment_id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user