Skip to content

Commit b07e183

Browse files
committed
fix colorization of log output
1 parent af9d68d commit b07e183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/warnet/control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def _logs(pod_name: str, follow: bool):
297297
try:
298298
stream = pod_log(pod_name, container_name=container_name, follow=follow)
299299
for line in stream.stream():
300-
print(line.decode("utf-8"), end=None)
300+
click.secho(line.decode("utf-8"))
301301
except Exception as e:
302302
print(e)
303303
except KeyboardInterrupt:

0 commit comments

Comments
 (0)