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:
Felipe Monteiro 2016-09-30 11:19:01 -04:00
parent 52b7f55670
commit bf586063f3

View File

@ -43,7 +43,7 @@ class ActionServices(object):
@staticmethod
def update_task(action, session, task, unit):
session.state = states.SessionState.deploying
session.state = states.SessionState.DEPLOYING
task_info = models.Task()
task_info.environment_id = session.environment_id
task_info.description = dict(session.description.get('Objects'))