From a365797407e171f79a1030bf934de2682d3539a8 Mon Sep 17 00:00:00 2001 From: cblmemo Date: Sun, 17 Sep 2023 23:27:49 -0700 Subject: [PATCH] fix --- sky/cli.py | 1 + sky/task.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sky/cli.py b/sky/cli.py index 9e650fbb301..03f13919d74 100644 --- a/sky/cli.py +++ b/sky/cli.py @@ -1425,6 +1425,7 @@ def launch( '`sky spot launch`. `sky launch` supports a ' 'single task only.') task = task_or_dag + print(task) backend: backends.Backend if backend_name == backends.LocalDockerBackend.NAME: diff --git a/sky/task.py b/sky/task.py index a0a4bf34375..028f78dad76 100644 --- a/sky/task.py +++ b/sky/task.py @@ -576,8 +576,7 @@ def set_resources( if isinstance(resources, sky.Resources): resources = {resources} # TODO(woosuk): Check if the resources are None. - if _check_docker_login_config(self.envs): - self.resources = _with_docker_login_config(resources, self.envs) + self.resources = _with_docker_login_config(resources, self.envs) return self def get_resources(self):