Skip to content

Commit

Permalink
fix pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
MaoZiming committed Dec 10, 2023
1 parent 9e4bd87 commit c36820b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sky/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,8 @@ def cancel(
sky.exceptions.CloudUserIdentityError: if we fail to get the current
user identity.
"""
# controller_utils.check_cluster_name_not_controller(
# cluster_name, operation_str='Cancelling jobs')
controller_utils.check_cluster_name_not_controller(
cluster_name, operation_str='Cancelling jobs')

if all and job_ids:
raise ValueError('Cannot specify both `all` and `job_ids`. To cancel '
Expand Down

0 comments on commit c36820b

Please sign in to comment.