Explorar o código

Fix normal deployment launch

Daniel Vincze hai 1 ano
pai
achega
dd934ed3ca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      coriolis/conductor/rpc/server.py

+ 1 - 1
coriolis/conductor/rpc/server.py

@@ -1411,7 +1411,7 @@ class ConductorServerEndpoint(object):
             ctxt, destination_endpoint)
 
         execution = models.TasksExecution()
-        deployment.executions = [execution]
+        execution.action = deployment
         execution.status = constants.EXECUTION_STATUS_UNEXECUTED
         execution.number = 1
         execution.type = constants.EXECUTION_TYPE_DEPLOYMENT