Fix invalid SessionState.deploying reference in services actions.
Currently, update_task in murano.services.actions references SessionState.deploying, which is invalid. Change-Id: Idab7138c877e10987e7edf2c3a845897b2219a93 Closes-Bug: #1629361
This commit is contained in:
parent
52b7f55670
commit
bf586063f3
@ -43,7 +43,7 @@ class ActionServices(object):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def update_task(action, session, task, unit):
|
def update_task(action, session, task, unit):
|
||||||
session.state = states.SessionState.deploying
|
session.state = states.SessionState.DEPLOYING
|
||||||
task_info = models.Task()
|
task_info = models.Task()
|
||||||
task_info.environment_id = session.environment_id
|
task_info.environment_id = session.environment_id
|
||||||
task_info.description = dict(session.description.get('Objects'))
|
task_info.description = dict(session.description.get('Objects'))
|
||||||
|
Loading…
Reference in New Issue
Block a user