Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cblmemo committed Sep 18, 2023
1 parent ad149c1 commit a365797
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions sky/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions sky/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a365797

Please sign in to comment.