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):