Skip to content

Commit b174564

Browse files
committed
end end execution id to tail command
1 parent 1555abe commit b174564

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

st2client/st2client/commands/action.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,10 @@ def tail_execution(cls, execution_manager, stream_manager, execution, output_typ
15021502
workflow_execution_ids.update(children_execution_ids)
15031503

15041504
events = ['st2.execution__update', 'st2.execution.output__create']
1505-
for event in stream_manager.listen(events, **kwargs):
1505+
for event in stream_manager.listen(events,
1506+
end_execution_id=execution_id,
1507+
end_event="st2.execution__update",
1508+
**kwargs):
15061509
status = event.get('status', None)
15071510
is_execution_event = status is not None
15081511

0 commit comments

Comments
 (0)