From 9e1b4ddc5fb1cb3fd6c00c106555b919e449e2c9 Mon Sep 17 00:00:00 2001 From: zpoint Date: Fri, 17 Jan 2025 14:48:59 +0800 Subject: [PATCH] Fix type error -- Kubernetes sky down exception (#4583) to list --- sky/provision/kubernetes/instance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sky/provision/kubernetes/instance.py b/sky/provision/kubernetes/instance.py index a849dfc3044..3e39230dc57 100644 --- a/sky/provision/kubernetes/instance.py +++ b/sky/provision/kubernetes/instance.py @@ -976,7 +976,7 @@ def _terminate_pod_thread(pod_info): _terminate_node(namespace, context, pod_name) # Run pod termination in parallel - subprocess_utils.run_in_parallel(_terminate_pod_thread, pods.items(), + subprocess_utils.run_in_parallel(_terminate_pod_thread, list(pods.items()), _NUM_THREADS)