diff --git a/sky/jobs/utils.py b/sky/jobs/utils.py index 6cd4f8e6593..789e7430154 100644 --- a/sky/jobs/utils.py +++ b/sky/jobs/utils.py @@ -792,8 +792,8 @@ def stream_logs(cls, # TODO: change to utils.stream_logs(job_name, job_id, follow) in v0.8.0. code = textwrap.dedent(f"""\ {inspect.getsource(stream_logs)} - msg = stream_logs({job_name!r}, {job_id!r}, ' - ' follow={follow}, controller={controller}) + msg = stream_logs({job_name!r}, {job_id!r}, + follow={follow}, controller={controller}) print(msg, flush=True) """) return cls._build(code)