From 211386fb4c17be1669b9e924ead123f5586a3711 Mon Sep 17 00:00:00 2001 From: Romil Bhardwaj Date: Wed, 22 May 2024 10:49:20 -0700 Subject: [PATCH] [k8s] Check only kubernetes for `sky local down` (#3578) check only kubernetes for local down --- sky/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sky/cli.py b/sky/cli.py index 894ccc7257c..9a45a35ae55 100644 --- a/sky/cli.py +++ b/sky/cli.py @@ -4995,7 +4995,7 @@ def local_up(gpus: bool): f'\nError: {style.BRIGHT}{stderr}{style.RESET_ALL}') # Run sky check with rich_utils.safe_status('[bold cyan]Running sky check...'): - sky_check.check(clouds=('kubernetes',), quiet=True) + sky_check.check(clouds=['kubernetes'], quiet=True) if cluster_created: # Prepare completion message which shows CPU and GPU count # Get number of CPUs @@ -5097,7 +5097,7 @@ def local_down(): if cluster_removed: # Run sky check with rich_utils.safe_status('[bold cyan]Running sky check...'): - sky_check.check(quiet=True) + sky_check.check(clouds=['kubernetes'], quiet=True) click.echo( f'{colorama.Fore.GREEN}Local cluster removed.{style.RESET_ALL}')