We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 840e0b4 commit baf96b1Copy full SHA for baf96b1
changelog/73.bugfix.rst
@@ -0,0 +1 @@
1
+Fix regression which prevented pipelines without processors
src/saf/pipeline.py
@@ -103,8 +103,11 @@ async def run(self: P) -> None:
103
async def _run(self: P) -> None:
104
self._build_contexts()
105
async for event in self._collectors_stream():
106
- async for processed_event in self._pipe_process_events(event):
107
- await self._forward_event(processed_event)
+ if self.process_configs:
+ async for processed_event in self._pipe_process_events(event):
108
+ await self._forward_event(processed_event)
109
+ else:
110
+ await self._forward_event(event)
111
112
def _build_contexts(self: P) -> None:
113
for collect_config in self.collect_configs:
0 commit comments