Commit 853a7a51 authored by Daniele Venzano's avatar Daniele Venzano

Fix bug that prevented automatic detection of finished executions.

parent 9585a481
...@@ -177,7 +177,7 @@ class APIEndpoint: ...@@ -177,7 +177,7 @@ class APIEndpoint:
all_execs = self.sql.execution_list(status='running') all_execs = self.sql.execution_list(status='running')
for execution in all_execs: for execution in all_execs:
for service in for service in
if service.description['monitor'] and service.status == service.BACKEND_DIE_STATUS: if service.description['monitor'] and service.backend_status == service.BACKEND_DIE_STATUS:"Service {} ({}) of execution {} died, terminating execution".format(,,"Service {} ({}) of execution {} died, terminating execution".format(,,
self.master.execution_terminate( self.master.execution_terminate(
break break
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment