Skip to content

Commit

Permalink
Minor spot logs fix: don't print job id not provided on spot launch. (#…
Browse files Browse the repository at this point in the history
…1434)

Minor spot logs fix: don't print job id not provided.
  • Loading branch information
concretevitamin authored Nov 20, 2022
1 parent 291d21a commit 1f843e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/backends/cloud_vm_ray_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -2499,7 +2499,7 @@ def tail_logs(self,
job_id,
spot_job_id=spot_job_id,
follow=follow)
if job_id is None:
if job_id is None and spot_job_id is None:
logger.info(
'Job ID not provided. Streaming the logs of the latest job.')

Expand Down

0 comments on commit 1f843e2

Please sign in to comment.