Skip to content

Commit db078d9

Browse files
committed
fix logs
1 parent 954dd29 commit db078d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

images/utils/launcher/node/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,8 @@ def logs(self, tail: str = None, since: str = None, until: str = None, follow: b
317317

318318
result = self.container.logs(**kwargs)
319319
if isinstance(result, bytes):
320-
return itertools.chain(result.decode().splitlines())
320+
for line in result.decode().splitlines():
321+
yield line
321322
else:
322323
for line in result:
323324
yield line.decode().rstrip()

0 commit comments

Comments
 (0)