Reenable Task view inside Executions
Change-Id: I9dd57b805180928253ff2cf37f658aafa98cb4a3changes/64/121464/1
parent
bb03d06ebe
commit
c7777ee5d5
|
@ -24,8 +24,8 @@ from mistraldashboard.default.utils import prettyprint
|
|||
|
||||
|
||||
class ExecutionsTable(tables.DataTable):
|
||||
id = tables.Column("id", verbose_name=_("ID")) # ,
|
||||
# link=("horizon:mistral:executions:tasks"))
|
||||
id = tables.Column("id", verbose_name=_("ID"),
|
||||
link="horizon:mistral:executions:tasks")
|
||||
|
||||
workflow_name = tables.Column("workflow_name", verbose_name=_("Workflow"))
|
||||
|
||||
|
|
|
@ -36,4 +36,4 @@ class TaskView(tables.DataTableView):
|
|||
|
||||
def get_data(self):
|
||||
client = api.mistralclient(self.request)
|
||||
return client.tasks.list()
|
||||
return client.tasks.list(self.kwargs['execution_id'])
|
||||
|
|
Loading…
Reference in New Issue