From c36820be65c5709a2b82b908b0de1b2d2b581421 Mon Sep 17 00:00:00 2001 From: MaoZiming Date: Sun, 10 Dec 2023 08:59:06 -0800 Subject: [PATCH] fix pytest --- sky/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sky/core.py b/sky/core.py index 43f055b7f40..862856abc79 100644 --- a/sky/core.py +++ b/sky/core.py @@ -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 '